File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 6
6
- ' v*'
7
7
8
8
jobs :
9
- validate-version :
9
+ build-and-publish :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- 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
14
20
- name : Verify tag matches package version
15
21
run : |
16
22
TAG=${GITHUB_REF#refs/tags/v}
21
27
fi
22
28
echo "Version validation successful: $TAG"
23
29
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
-
38
30
- name : Setup pnpm
39
31
uses : pnpm/action-setup@v2
40
32
with :
You can’t perform that action at this time.
0 commit comments