Skip to content

Merge pull request #681 from spiltcoffee/dependabot/npm_and_yarn/pret… #1783

Merge pull request #681 from spiltcoffee/dependabot/npm_and_yarn/pret…

Merge pull request #681 from spiltcoffee/dependabot/npm_and_yarn/pret… #1783

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node.js 16
uses: actions/[email protected]
with:
node-version: 16
cache: yarn
- run: yarn install --immutable
- run: yarn lint --max-warnings 0
- run: yarn build
- name: check git is clean
run: 'git add . && git diff-index --quiet HEAD || (git reset --quiet && echo "Error: changed files" && git status --porcelain && exit 1)'