Update workflow to use yarn
This commit is contained in:
parent
7ce3a29301
commit
702539d44b
1 changed files with 4 additions and 4 deletions
|
@ -21,11 +21,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '16.x'
|
||||||
|
|
||||||
- name: npm install, build, and test
|
- name: yarn install, build, and test
|
||||||
run: |
|
run: |
|
||||||
npm install
|
yarn install --frozen-lockfile
|
||||||
npm run build --if-present
|
yarn build
|
||||||
npm run test --if-present
|
yarn test
|
||||||
|
|
||||||
- name: Upload artifact for deployment job
|
- name: Upload artifact for deployment job
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue