Skip to content

Commit

Permalink
Fix node config in Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Jul 9, 2024
1 parent 70424a4 commit ea55680
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install APIMatic CLI
run: npm install -g @apimatic/cli

Expand All @@ -27,7 +26,10 @@ jobs:

- name: Set publishing coordiates
working-directory: ./sdks/ts/openapi_sdk_typescript
run: jq -r -s '.[0] * .[1]' package.json package-patch.json > tmp.json && mv -f tmp.json package.json
run: |
echo '{ "version": "1.0.{{ github.run_number }}", "name": "@wiremock-inc/apimatic-sdkgen-demo", "repository": "github:wiremock-inc/apimatic-sdkgen-demo" }' > package-patch.json
jq -r -s '.[0] * .[1]' package.json package-patch.json > tmp.json
mv -f tmp.json package.json
- name: Authenticate with private NPM package
working-directory: ./sdks/ts/openapi_sdk_typescript
Expand Down

0 comments on commit ea55680

Please sign in to comment.