Skip to content

Commit

Permalink
chore: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RJWadley committed Jan 25, 2024
1 parent 18ffe2b commit f81f9f1
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pnpm i --ignore-scripts
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm run lint:js
- run: pnpm run lint:prettier

Expand All @@ -22,15 +25,21 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: pnpm i --ignore-scripts
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm run test

coverage:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pnpm i --ignore-scripts
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm run test:coverage
- uses: codecov/codecov-action@v3

Expand All @@ -43,7 +52,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- run: pnpm i --ignore-scripts
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit f81f9f1

Please sign in to comment.