Skip to content

Commit e45ddee

Browse files
committed
chore: bump node
1 parent 764863e commit e45ddee

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.github/workflows/publish.yml

+8-16
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ on:
66
- 'v*'
77

88
jobs:
9-
validate-version:
9+
build-and-publish:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Setup Node
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 22
1420
- name: Verify tag matches package version
1521
run: |
1622
TAG=${GITHUB_REF#refs/tags/v}
@@ -21,20 +27,6 @@ jobs:
2127
fi
2228
echo "Version validation successful: $TAG"
2329
24-
build-and-publish:
25-
needs: validate-version
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v3
29-
with:
30-
fetch-depth: 0
31-
32-
- name: Setup Node
33-
uses: actions/setup-node@v3
34-
with:
35-
node-version: 18
36-
registry-url: 'https://registry.npmjs.org'
37-
3830
- name: Setup pnpm
3931
uses: pnpm/action-setup@v2
4032
with:

0 commit comments

Comments
 (0)