-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|