Skip to content

Commit

Permalink
ci: update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
wood3n committed Mar 13, 2024
1 parent 5ed6dec commit e6d9ba8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- uses: pnpm/action-setup@v2 # pnpm is optional but recommended, you can also use npm / yarn
- uses: pnpm/action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
with:
version: 6
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand Down
20 changes: 8 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- uses: pnpm/action-setup@v2 # pnpm is optional but recommended, you can also use npm / yarn
with:
version: 6
- name: Setup Node
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Setup Pages
uses: actions/configure-pages@v3

- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm install
- name: Build packages
Expand All @@ -36,11 +37,6 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: pnpm publish --filter ./packages/*
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down

0 comments on commit e6d9ba8

Please sign in to comment.