Skip to content

Commit a7f7fd5

Browse files
Merge pull request #164 from contentstack/master
back merge main -> staging
2 parents b3c1224 + 4f2c7aa commit a7f7fd5

File tree

3 files changed

+190
-506
lines changed

3 files changed

+190
-506
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 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
@@ -65,4 +65,4 @@ jobs:
6565
id: github-release
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes
68+
run: gh release create v${{ steps.release-plugin.outputs.version }} --title "Release ${{ steps.release-plugin.outputs.version }}" --generate-notes

0 commit comments

Comments
 (0)