Skip to content

infra: update to Yarn 4.0 #480

infra: update to Yarn 4.0

infra: update to Yarn 4.0 #480

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macos-latest, windows-latest]
steps:
# Ensure that git always checkouts out with LF (to avoid issues in Windows, https://github.com/prettier/prettier/issues/7825#issuecomment-602171740)
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v1
with:
submodules: 'recursive'
token: ${{ secrets.ACCESS_TOKEN }}
- name: Use Node.js latest LTS
uses: actions/setup-node@v3
with:
node-version: lts/* # Test on the current LTS version.
- name: npm install, build, and test
run: |
npm run fresh
npm run build:all
npm run test:all:ci
env:
CI: true