Update workflow to use yarn

This commit is contained in:
Ethan Lane 2022-08-29 20:13:10 +01:00
parent 7ce3a29301
commit 702539d44b
Signed by: Vylpes
GPG key ID: EED233CC06D12504

View file

@ -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