tasko/.github/workflows/build-lint.yml
2024-02-15 20:08:50 -05:00

29 lines
No EOL
510 B
YAML

name: Build and Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Build
run: |
npm install
npm run build
- name: Lint
run: |
npm run lint