Skip to content

Commit 706f5de

Browse files
authored
Merge pull request #37 from Contentstack-Solutions/feat/CS-39486
Added auto generate release notes and changed the version of actions used to latest version. Added Version Bump
2 parents 660c864 + c2af105 commit 706f5de

File tree

4 files changed

+15
-20
lines changed

4 files changed

+15
-20
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
node-version: [18.x,20.x]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3.5.3
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v3.7.0
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci

.github/workflows/release.yml

Lines changed: 12 additions & 6 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@v2
12+
uses: actions/checkout@v3.5.3
1313
with:
1414
fetch-depth: 0
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v1
16+
uses: actions/setup-node@v3.7.0
1717
with:
1818
node-version: '18.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
24+
uses: actions/upload-artifact@v3.1.2
2525
with:
2626
name: lib
2727
path: lib
@@ -32,11 +32,11 @@ jobs:
3232
needs: build
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3.5.3
3636
with:
3737
fetch-depth: 0
3838
- name: Setup Node.js
39-
uses: actions/setup-node@v1
39+
uses: actions/setup-node@v3.7.0
4040
with:
4141
node-version: '18.x'
4242
- name: Install dependencies
@@ -49,6 +49,12 @@ jobs:
4949
- name: Display dirs
5050
run: ls -R
5151
- name: Release
52-
uses: JS-DevTools/npm-publish@v1
52+
id: release-plugin
53+
uses: JS-DevTools/[email protected]
5354
with:
5455
token: ${{ secrets.NPM_TOKEN }}
56+
- name: github-release
57+
id: github-release
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes

.github/workflows/sast-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ jobs:
66
security:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v3.5.3
1010
- name: Horusec Scan
1111
run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd)

.github/workflows/secrets-scan.yml

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

0 commit comments

Comments
 (0)