Skip to content

Commit ebd5f50

Browse files
committed
Update workflows
1 parent 6b6a731 commit ebd5f50

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

.github/workflows/cd.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,24 @@ jobs:
1111
name: Deploy
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Git checkout
15-
uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1615
- name: Install PNPM
1716
uses: pnpm/action-setup@v4
1817
with:
1918
version: 10
2019
- name: Install Node
2120
uses: actions/setup-node@v4
2221
with:
23-
node-version: 22
22+
node-version: 24
2423
cache: "pnpm"
2524
- name: Install dependencies and test
2625
run: pnpm install-test --frozen-lockfile
2726
- name: Publish
28-
id: publish
29-
uses: JS-DevTools/npm-publish@v3
30-
with:
31-
token: ${{ secrets.NPM_TOKEN }}
32-
- if: ${{ steps.publish.outputs.type }}
33-
run: |
34-
echo "Published version: ${{ steps.publish.outputs.version }}"
35-
- name: Deploy
27+
run: pnpm publish --ignore-scripts
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
NPM_CONFIG_PROVENANCE: true
31+
- name: Pages
3632
run: pnpm run deploy
3733
- uses: JamesIves/github-pages-deploy-action@v4
3834
with:

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ jobs:
1111
name: Test
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Git checkout
15-
uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1615
- name: Install PNPM
1716
uses: pnpm/action-setup@v4
1817
with:
1918
version: 10
2019
- name: Install Node
2120
uses: actions/setup-node@v4
2221
with:
23-
node-version: 22
22+
node-version: 24
2423
cache: "pnpm"
2524
- name: Install and test
2625
run: pnpm install-test --frozen-lockfile

0 commit comments

Comments
 (0)