Skip to content

Commit

Permalink
Change actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 11, 2024
1 parent dc99b16 commit b181686
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
jobs:
main:
name: ${{matrix.node}}
runs-on: ubuntu-latest
small:
name: test / ${{matrix.os}} / ${{matrix.node}}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{matrix.node}}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v4
- run: npm ci
- run: npm run test-api
strategy:
matrix:
include:
- node: lts/hydrogen
os: ubuntu-latest
node:
- lts/hydrogen
- node
os:
- macos-latest
- windows-latest
full:
name: full build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
cache: npm
node-version: node
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v4
name: main
on:
- pull_request
Expand Down

0 comments on commit b181686

Please sign in to comment.