-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from Lightning-Flow-Scanner/feat/update-node-22
chore: bump node to node 22
- Loading branch information
Showing
4 changed files
with
61 additions
and
109 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,61 +1,60 @@ | ||
--- | ||
# | ||
# Documentation: | ||
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | ||
# | ||
|
||
####################################### | ||
# Start the job on all push to master # | ||
####################################### | ||
name: 'Build & Deploy - Beta' | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: read-all | ||
|
||
concurrency: | ||
group: ${{ github.ref_name }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
############### | ||
# Set the Job # | ||
############### | ||
jobs: | ||
|
||
# Deploy to NPM | ||
deploy_to_npm: | ||
name: Deploy to NPM (beta) | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to be able to publish a GitHub release | ||
issues: write # to be able to comment on released issues | ||
pull-requests: write # to be able to comment on released pull requests | ||
id-token: write | ||
environment: | ||
name: beta | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 20.x | ||
registry-url: https://registry.npmjs.org | ||
scope: rubenhalman | ||
- name: Install Dependencies | ||
run: | | ||
npm ci | ||
- name: Semantic Release Dependency | ||
run: | | ||
npm install -g semantic-release https://github.com/oclif/semantic-release/archive/refs/tags/v3.1.5.tar.gz | ||
cd semantic-release | ||
npm install | ||
- name: Publish Beta | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKENX }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKENX }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }} | ||
run: semantic-release -e @oclif/semantic-release ./semantic-release/release.config.mjs | ||
# | ||
# Documentation: | ||
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | ||
# | ||
|
||
####################################### | ||
# Start the job on all push to master # | ||
####################################### | ||
name: "Build & Deploy - Beta" | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: read-all | ||
|
||
concurrency: | ||
group: ${{ github.ref_name }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
############### | ||
# Set the Job # | ||
############### | ||
jobs: | ||
# Deploy to NPM | ||
deploy_to_npm: | ||
name: Deploy to NPM (beta) | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to be able to publish a GitHub release | ||
issues: write # to be able to comment on released issues | ||
pull-requests: write # to be able to comment on released pull requests | ||
id-token: write | ||
environment: | ||
name: beta | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 22.x | ||
registry-url: https://registry.npmjs.org | ||
scope: rubenhalman | ||
- name: Install Dependencies | ||
run: | | ||
npm ci | ||
- name: Semantic Release Dependency | ||
run: | | ||
npm install -g semantic-release https://github.com/oclif/semantic-release/archive/refs/tags/v3.1.5.tar.gz | ||
cd semantic-release | ||
npm install | ||
- name: Publish Beta | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKENX }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKENX }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }} | ||
run: semantic-release -e @oclif/semantic-release ./semantic-release/release.config.mjs |
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
# Setup .npmrc file to publish to npm | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 20.x | ||
node-version: 22.x | ||
registry-url: "https://registry.npmjs.org" | ||
# Defaults to the user or organization that owns the workflow file | ||
scope: rubenhalman | ||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
# Setup .npmrc file to publish to npm | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 20.x | ||
node-version: 22.x | ||
registry-url: https://registry.npmjs.org | ||
scope: rubenhalman | ||
- name: Generate New Release Number | ||
|