Update build.yml

This commit is contained in:
Matthieu MOREL 2021-07-29 12:04:04 +02:00 committed by GitHub
parent f1ff7d02d1
commit 5dfaed91f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,10 @@ jobs:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.3.0
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
@ -20,7 +20,7 @@ jobs:
run: npm i yarn --global
- name: Cache Node Modules
uses: actions/cache@v2.1.6
uses: actions/cache@v2
with:
path: .cache
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
@ -36,7 +36,7 @@ jobs:
run: yarn build
- name: Upload Build as Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v2
with:
name: dist
path: dist
@ -61,4 +61,4 @@ jobs:
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# parallel-finished: true
# parallel-finished: true