Skip to content

Commit a4d4f1d

Browse files
authored
Merge branch 'main' into dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7
2 parents cb059c7 + 6540432 commit a4d4f1d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
strategy:
2121
matrix:
2222
node-version:
23-
- 16.x
2423
- 18.x
24+
- 20.x
2525

2626
steps:
2727
- uses: actions/checkout@v2
@@ -34,8 +34,8 @@ jobs:
3434
- run: npm test
3535
- run: npm run build --if-present
3636
- name: Save build
37-
if: matrix.node-version == '16.x'
38-
uses: actions/upload-artifact@v2
37+
if: matrix.node-version == '18.x'
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: build
4141
path: |
@@ -47,12 +47,12 @@ jobs:
4747
needs: build
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/download-artifact@v4.1.7
50+
- uses: actions/download-artifact@v4
5151
with:
5252
name: build
5353
- uses: actions/setup-node@v1
5454
with:
55-
node-version: 16.x
55+
node-version: 18.x
5656
- uses: rlespinasse/[email protected]
5757
- name: Append commit hash to package version
5858
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -68,12 +68,12 @@ jobs:
6868
runs-on: ubuntu-latest
6969
if: github.ref == 'refs/heads/main'
7070
steps:
71-
- uses: actions/download-artifact@v4.1.7
71+
- uses: actions/download-artifact@v4
7272
with:
7373
name: build
7474
- uses: actions/setup-node@v1
7575
with:
76-
node-version: 16.x
76+
node-version: 18.x
7777
- name: Disable pre- and post-publish actions
7878
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
7979
- uses: JS-DevTools/npm-publish@v1

0 commit comments

Comments
 (0)