Skip to content

Commit

Permalink
chore: update actions version (#7)
Browse files Browse the repository at this point in the history
* chore: update actions version

* fix: remove pnpm version from actions

use "packageManager" field from the package.json file instead
  • Loading branch information
Gumball12 committed Jul 10, 2024
1 parent 802bdc1 commit 12ebff1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/[email protected]
with:
version: 8
- uses: pnpm/action-setup@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
id: pnpm-cache
with:
path: node_modules
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/publish-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- uses: pnpm/[email protected]
with:
version: 8
- uses: pnpm/action-setup@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
id: pnpm-cache
with:
path: node_modules
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/publish-sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ jobs:
publish-sandbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/[email protected]
with:
version: 8
- uses: pnpm/action-setup@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
id: pnpm-cache
with:
path: demo/node_modules
Expand Down

0 comments on commit 12ebff1

Please sign in to comment.