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:
|
||||
node-version: '16.x'
|
||||
|
||||
- name: npm install, build, and test
|
||||
- name: yarn install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run build --if-present
|
||||
npm run test --if-present
|
||||
yarn install --frozen-lockfile
|
||||
yarn build
|
||||
yarn test
|
||||
|
||||
- name: Upload artifact for deployment job
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
Loading…
Reference in a new issue