Skip to content

Commit

Permalink
ci: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Dec 17, 2024
1 parent 373dd6d commit a60b7b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ jobs:
runs-on: ubuntu-latest

steps:
# set up Node/Yarn and build the package
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
# - uses: pnpm/action-setup@v4
# with:
# version: 7
- name: Install packages
run: yarn install
- name: Build package
Expand All @@ -33,6 +31,7 @@ jobs:
author_email: [email protected]
message: "chore: build library from latest spec [skip ci]"

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

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

0 comments on commit a60b7b3

Please sign in to comment.