Skip to content

Commit

Permalink
chore: bump gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholman committed May 23, 2024
1 parent 76f620d commit 6437ee0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3

- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3

- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/
node-version: 20
cache: 'pnpm'

- run: make

- run: pnpm publish -r --access=public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
13 changes: 6 additions & 7 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3

- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: 'pnpm'

- run: make test
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: PNPM
uses: pnpm/action-setup@v2
with:
version: 8
uses: pnpm/action-setup@v3

- name: Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: 'pnpm'

Expand Down

0 comments on commit 6437ee0

Please sign in to comment.