Skip to content

Update workflow

Update workflow #4

Workflow file for this run

name: Yarn CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Yarn
run: npm install -g yarn
- run: yarn install
- run: yarn run build
- name: Uninstall Yarn
if: always()
run: npm uninstall -g yarn