Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-claudia authored Aug 25, 2024
1 parent 87d14d5 commit 8554a28
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
- uses: ./.github/actions/setup
- run: npm run lint:js

test-js:
build-js:
needs: lint-js
runs-on: ubuntu-latest
steps:
- run: git clone --depth=0 https://github.com/MithrilJS/mithril.js.git && cd mithril.js
- uses: ./.github/actions/setup
- run: npm run build

test-js:
needs: build-js
runs-on: ubuntu-latest
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
Expand All @@ -43,5 +51,4 @@ jobs:
- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}
- run: npm run build
- run: npm run test:js

0 comments on commit 8554a28

Please sign in to comment.