feat: checkout@v4
This commit is contained in:
parent
c754f44661
commit
3d97659f94
1 changed files with 8 additions and 5 deletions
|
@ -14,8 +14,8 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Git Clone
|
||||||
|
uses: actions/checkout@v4
|
||||||
- name: Restore Node Modules Cache
|
- name: Restore Node Modules Cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
@ -45,7 +45,8 @@ jobs:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
if: github.ref == 'refs/heads/development' || startsWith(github.ref, 'refs/heads/release-no-verify/')
|
if: github.ref == 'refs/heads/development' || startsWith(github.ref, 'refs/heads/release-no-verify/')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Git Clone
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore dist/
|
- name: Restore dist/
|
||||||
run: cp -r /tmp/artifacts/dist ./
|
run: cp -r /tmp/artifacts/dist ./
|
||||||
|
@ -65,7 +66,8 @@ jobs:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
if: github.ref == 'refs/heads/development' || startsWith(github.ref, 'refs/heads/release-no-verify/')
|
if: github.ref == 'refs/heads/development' || startsWith(github.ref, 'refs/heads/release-no-verify/')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Git Clone
|
||||||
|
uses: actions/checkout@v4
|
||||||
- name: Publish to NPM (staging)
|
- name: Publish to NPM (staging)
|
||||||
run: |
|
run: |
|
||||||
cd dist
|
cd dist
|
||||||
|
@ -81,7 +83,8 @@ jobs:
|
||||||
image: node:20-alpine
|
image: node:20-alpine
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Git Clone
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Prepare Production Package
|
- name: Prepare Production Package
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue