Update release.yml
This commit is contained in:
7
.github/release.yml
vendored
7
.github/release.yml
vendored
@@ -25,9 +25,12 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Set NPM version #get the version from the tag
|
- name: Set NPM version
|
||||||
run: npm version ${{ github.ref_name }} --allow-same-version --no-git-tag-version
|
run: npm version ${{ github.ref_name }} --allow-same-version --no-git-tag-version
|
||||||
|
|
||||||
|
- name: Build API client
|
||||||
|
run: npm run generate-api:infisical
|
||||||
|
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
@@ -50,7 +53,7 @@ jobs:
|
|||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
- name: Publish NPM
|
- name: Publish NPM
|
||||||
run: npm publish --access public --registry=https://registry.npmjs.org/
|
run: npm publish --dry-run --access public --registry=https://registry.npmjs.org/ # todo: remove dry run
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user