Skip to content

Commit 0576706

Browse files
authored
Merge pull request #161 from contentstack/fix/workflows
Fix Workflow
2 parents ff8a508 + 8cada71 commit 0576706

File tree

5 files changed

+23
-765
lines changed

5 files changed

+23
-765
lines changed

.github/workflows/jira.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
project: ${{ secrets.JIRA_PROJECT }}
2222
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
2323
summary: |
24-
${{ github.event.pull_request.title }}
24+
Snyk | Vulnerability | ${{ github.event.repository.name }} | ${{ github.event.pull_request.title }}
2525
description: |
2626
PR: ${{ github.event.pull_request.html_url }}
2727

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3.5.3
12+
uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3.7.0
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: '18.x'
18+
node-version: '22.x'
1919
- name: Install dependencies
2020
run: npm install
2121
- name: Build
2222
run: npm run prepack
2323
- name: Upload dist
24-
uses: actions/upload-artifact@v3.1.2
24+
uses: actions/upload-artifact@v4
2525
with:
2626
name: lib
2727
path: lib
@@ -32,17 +32,17 @@ jobs:
3232
needs: build
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v3.5.3
35+
uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
3838
- name: Setup Node.js
39-
uses: actions/setup-node@v3.7.0
39+
uses: actions/setup-node@v4
4040
with:
41-
node-version: '18.x'
41+
node-version: '22.x'
4242
- name: Install dependencies
4343
run: npm install
4444
- name: Download dist
45-
uses: actions/download-artifact@v3
45+
uses: actions/download-artifact@v4
4646
with:
4747
name: lib
4848
path: lib
@@ -56,7 +56,7 @@ jobs:
5656
- name: Release
5757
if: steps.update_tag.outputs.tagname
5858
id: release-plugin
59-
uses: JS-DevTools/npm-publish@v2.2.0
59+
uses: JS-DevTools/npm-publish@v3
6060
with:
6161
token: ${{ secrets.NPM_TOKEN }}
6262
strategy: upgrade

.github/workflows/sca-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
env:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
15-
args: --all-projects --fail-on=all --strict-out-of-sync=false
15+
args: --all-projects --fail-on=all

0 commit comments

Comments
 (0)