Skip to content

Merge pull request #976 from leonardomso/dependabot/npm_and_yarn/type… #1681

Merge pull request #976 from leonardomso/dependabot/npm_and_yarn/type…

Merge pull request #976 from leonardomso/dependabot/npm_and_yarn/type… #1681

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Cache node_modules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
env:
CI: true
- name: Format
run: yarn format
env:
CI: true
- name: Typecheck
run: yarn typecheck
env:
CI: true
- name: Build
run: yarn build
env:
CI: true