Skip to content

Commit a60b7b3

Browse files
committed
ci: add comments
1 parent 373dd6d commit a60b7b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_and_publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
# set up Node/Yarn and build the package
1516
- name: Checkout repository
1617
uses: actions/checkout@v3
1718
- name: Use Node.js 18
1819
uses: actions/setup-node@v3
1920
with:
2021
node-version: 18.x
2122
cache: "yarn"
22-
# - uses: pnpm/action-setup@v4
23-
# with:
24-
# version: 7
2523
- name: Install packages
2624
run: yarn install
2725
- name: Build package
@@ -33,6 +31,7 @@ jobs:
3331
author_email: [email protected]
3432
message: "chore: build library from latest spec [skip ci]"
3533

34+
# publish the package if needed
3635
- name: Find current API version
3736
run: echo "api_version=$(jq -r .info.version OpenAPI.json)" >> $GITHUB_ENV
3837
- name: Check if tag exists for current version
@@ -59,6 +58,7 @@ jobs:
5958
with:
6059
token: ${{ secrets.NPM_TOKEN }}
6160

61+
# update upryzing.js's repo
6262
- name: Checkout upryzing.js repository
6363
if: ${{ steps.checkTag.outputs.exists }} != true
6464
uses: actions/checkout@v3

0 commit comments

Comments
 (0)