Skip to content

Commit a74f0d4

Browse files
authored
Merge pull request #132 from Lightning-Flow-Scanner/feat/update-node-22
chore: bump node to node 22
2 parents a193152 + cb28a5b commit a74f0d4

File tree

4 files changed

+61
-109
lines changed

4 files changed

+61
-109
lines changed

.github/workflows/deploy-ALPHA.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/deploy-BETA.yml

Lines changed: 59 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,60 @@
11
---
2-
#
3-
# Documentation:
4-
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
5-
#
6-
7-
#######################################
8-
# Start the job on all push to master #
9-
#######################################
10-
name: 'Build & Deploy - Beta'
11-
on:
12-
push:
13-
branches:
14-
- master
15-
16-
permissions: read-all
17-
18-
concurrency:
19-
group: ${{ github.ref_name }}-${{ github.workflow }}
20-
cancel-in-progress: true
21-
22-
###############
23-
# Set the Job #
24-
###############
25-
jobs:
26-
27-
# Deploy to NPM
28-
deploy_to_npm:
29-
name: Deploy to NPM (beta)
30-
runs-on: ubuntu-latest
31-
permissions:
32-
contents: write # to be able to publish a GitHub release
33-
issues: write # to be able to comment on released issues
34-
pull-requests: write # to be able to comment on released pull requests
35-
id-token: write
36-
environment:
37-
name: beta
38-
steps:
39-
- uses: actions/checkout@v4
40-
with:
41-
fetch-depth: 0
42-
persist-credentials: false
43-
- uses: actions/[email protected]
44-
with:
45-
node-version: 20.x
46-
registry-url: https://registry.npmjs.org
47-
scope: rubenhalman
48-
- name: Install Dependencies
49-
run: |
50-
npm ci
51-
- name: Semantic Release Dependency
52-
run: |
53-
npm install -g semantic-release https://github.com/oclif/semantic-release/archive/refs/tags/v3.1.5.tar.gz
54-
cd semantic-release
55-
npm install
56-
- name: Publish Beta
57-
env:
58-
GITHUB_TOKEN: ${{ secrets.TOKENX }}
59-
NPM_TOKEN: ${{ secrets.NPM_TOKENX }}
60-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }}
61-
run: semantic-release -e @oclif/semantic-release ./semantic-release/release.config.mjs
2+
#
3+
# Documentation:
4+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
5+
#
6+
7+
#######################################
8+
# Start the job on all push to master #
9+
#######################################
10+
name: "Build & Deploy - Beta"
11+
on:
12+
push:
13+
branches:
14+
- master
15+
16+
permissions: read-all
17+
18+
concurrency:
19+
group: ${{ github.ref_name }}-${{ github.workflow }}
20+
cancel-in-progress: true
21+
22+
###############
23+
# Set the Job #
24+
###############
25+
jobs:
26+
# Deploy to NPM
27+
deploy_to_npm:
28+
name: Deploy to NPM (beta)
29+
runs-on: ubuntu-latest
30+
permissions:
31+
contents: write # to be able to publish a GitHub release
32+
issues: write # to be able to comment on released issues
33+
pull-requests: write # to be able to comment on released pull requests
34+
id-token: write
35+
environment:
36+
name: beta
37+
steps:
38+
- uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
41+
persist-credentials: false
42+
- uses: actions/[email protected]
43+
with:
44+
node-version: 22.x
45+
registry-url: https://registry.npmjs.org
46+
scope: rubenhalman
47+
- name: Install Dependencies
48+
run: |
49+
npm ci
50+
- name: Semantic Release Dependency
51+
run: |
52+
npm install -g semantic-release https://github.com/oclif/semantic-release/archive/refs/tags/v3.1.5.tar.gz
53+
cd semantic-release
54+
npm install
55+
- name: Publish Beta
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.TOKENX }}
58+
NPM_TOKEN: ${{ secrets.NPM_TOKENX }}
59+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKENX }}
60+
run: semantic-release -e @oclif/semantic-release ./semantic-release/release.config.mjs

.github/workflows/deploy-RELEASE.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# Setup .npmrc file to publish to npm
3434
- uses: actions/[email protected]
3535
with:
36-
node-version: 20.x
36+
node-version: 22.x
3737
registry-url: "https://registry.npmjs.org"
3838
# Defaults to the user or organization that owns the workflow file
3939
scope: rubenhalman

.github/workflows/generate-RELEASE.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Setup .npmrc file to publish to npm
2929
- uses: actions/[email protected]
3030
with:
31-
node-version: 20.x
31+
node-version: 22.x
3232
registry-url: https://registry.npmjs.org
3333
scope: rubenhalman
3434
- name: Generate New Release Number

0 commit comments

Comments
 (0)