We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e2aad commit de4b2b0Copy full SHA for de4b2b0
1 file changed
.github/workflows/release.yaml
@@ -20,6 +20,7 @@ on:
20
jobs:
21
publish_template:
22
runs-on: ubuntu-latest
23
+ environment: npm-publish
24
steps:
25
- name: Safeguard against branch name
26
run: |
@@ -32,7 +33,7 @@ jobs:
32
33
- name: Setup node.js
34
uses: actions/setup-node@v4.0.0
35
with:
- node-version: 22
36
+ node-version: 'lts/*'
37
registry-url: 'https://registry.npmjs.org'
38
- name: Determine new template version
39
run: echo "VERSION=$(./scripts/bumpedTemplateVersion.sh ${{ inputs.version }})" >> $GITHUB_ENV
@@ -57,8 +58,6 @@ jobs:
57
58
"${GIT[@]}" tag $VERSION
59
"${GIT[@]}" push --tags
60
- name: Publish on NPM (with tag if needed)
- env:
61
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
62
63
args=(--dry-run)
64
if [ "${{ inputs.dry_run }}" = "false" ]; then
0 commit comments