File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,14 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
+ # set up Node/Yarn and build the package
15
16
- name : Checkout repository
16
17
uses : actions/checkout@v3
17
18
- name : Use Node.js 18
18
19
uses : actions/setup-node@v3
19
20
with :
20
21
node-version : 18.x
21
22
cache : " yarn"
22
- # - uses: pnpm/action-setup@v4
23
- # with:
24
- # version: 7
25
23
- name : Install packages
26
24
run : yarn install
27
25
- name : Build package
33
31
34
32
message : " chore: build library from latest spec [skip ci]"
35
33
34
+ # publish the package if needed
36
35
- name : Find current API version
37
36
run : echo "api_version=$(jq -r .info.version OpenAPI.json)" >> $GITHUB_ENV
38
37
- name : Check if tag exists for current version
59
58
with :
60
59
token : ${{ secrets.NPM_TOKEN }}
61
60
61
+ # update upryzing.js's repo
62
62
- name : Checkout upryzing.js repository
63
63
if : ${{ steps.checkTag.outputs.exists }} != true
64
64
uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments