Skip to content

Commit 4e35cde

Browse files
authored
Merge pull request #90 from Lightning-Flow-Scanner/update-beta-release
ci: update beta and release workflows
2 parents 0dad822 + 9e2d9dd commit 4e35cde

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/deploy-BETA.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ name: 'Build & Deploy - Beta'
1111
on:
1212
push:
1313
branches:
14-
- main
1514
- master
1615

1716
permissions: read-all
@@ -36,15 +35,15 @@ jobs:
3635
- uses: actions/checkout@v4
3736
- uses: actions/[email protected]
3837
with:
39-
node-version: "18.x"
40-
registry-url: "https://registry.npmjs.org"
38+
node-version: 18.x
39+
registry-url: https://registry.npmjs.org
4140
scope: rubenhalman
4241
- run: npm ci
4342
- run: |
44-
git config --global user.name nvuillam
45-
git config --global user.email [email protected]
43+
git config --global user.name $USER_NAME
44+
git config --global user.email $USER_EMAIL
4645
- run: BETAID=$(date '+%Y%m%d%H%M') && npm version prerelease --preid="beta$BETAID"
4746
shell: bash
4847
- run: npm publish --tag beta
4948
env:
50-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }}

.github/workflows/deploy-RELEASE.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
# Setup .npmrc file to publish to npm
3535
- uses: actions/[email protected]
3636
with:
37-
node-version: "18.x"
38-
registry-url: "https://registry.npmjs.org"
37+
node-version: 18.x
38+
registry-url: https://registry.npmjs.org
3939
scope: rubenhalman
4040
- run: npm ci
4141
- run: |
42-
git config --global user.name nvuillam
43-
git config --global user.email [email protected]
42+
git config --global user.name $USER_NAME
43+
git config --global user.email $USER_EMAIL
4444
- run: npm publish
4545
env:
46-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }}

0 commit comments

Comments
 (0)