We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 764863e commit e45ddeeCopy full SHA for e45ddee
.github/workflows/publish.yml
@@ -6,11 +6,17 @@ on:
6
- 'v*'
7
8
jobs:
9
- validate-version:
+ build-and-publish:
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v3
13
-
+ with:
14
+ fetch-depth: 0
15
+
16
+ - name: Setup Node
17
+ uses: actions/setup-node@v3
18
19
+ node-version: 22
20
- name: Verify tag matches package version
21
run: |
22
TAG=${GITHUB_REF#refs/tags/v}
@@ -21,20 +27,6 @@ jobs:
27
fi
28
echo "Version validation successful: $TAG"
23
29
24
- build-and-publish:
25
- needs: validate-version
26
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
30
- fetch-depth: 0
31
32
- - name: Setup Node
33
- uses: actions/setup-node@v3
34
35
- node-version: 18
36
- registry-url: 'https://registry.npmjs.org'
37
38
- name: Setup pnpm
39
uses: pnpm/action-setup@v2
40
with:
0 commit comments