mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-04-15 02:52:16 +08:00
Update github-actions
This commit is contained in:
parent
28af6bba15
commit
1ee9fed217
8
.github/workflows/check-dist.yml
vendored
8
.github/workflows/check-dist.yml
vendored
@ -16,12 +16,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set Node.js 20
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v4.4.0
|
uses: actions/setup-node@v6.3.0
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 24.14.0
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn
|
run: yarn
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
id: diff
|
id: diff
|
||||||
|
|
||||||
# If index.js was different than expected, upload the expected version as an artifact
|
# If index.js was different than expected, upload the expected version as an artifact
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v7
|
||||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user