fix: rm collateral #342
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web App CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [18.x, 20.x] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./packages/web-app | |
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" | |
cache-dependency-path: "./yarn.lock" | |
- run: npm install --global yarn | |
- run: yarn install | |
- run: yarn lint:check | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
node-version: [18.x, 20.x] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./packages/web-app | |
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" | |
cache-dependency-path: "./yarn.lock" | |
- run: npm install --global yarn | |
- run: yarn install | |
- run: yarn build |