Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 4 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ jobs:
with:
node: ${{ env.NODE_VERSION }}

- name: Save build artifacts
uses: actions/cache/save@v5
with:
path: .
key: ${{ env.CACHE_KEY }}

unit:
name: Unit Tests
runs-on: ubuntu-latest
Expand All @@ -59,10 +53,8 @@ jobs:
node-version: ${{ matrix.NODE_VERSION }}
cache: npm

- name: Build package
uses: ./.github/actions/build
with:
node: ${{ matrix.NODE_VERSION }}
- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test:ci
Expand All @@ -71,8 +63,6 @@ jobs:
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@5.5.2

lint:
needs: build # Require build to complete before running tests

name: Lint Tests
runs-on: ubuntu-latest

Expand All @@ -86,11 +76,8 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: npm

- name: Restore build artifacts
uses: actions/cache/restore@v5
with:
path: .
key: ${{ env.CACHE_KEY }}
- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run lint