Skip to main content
Module

x/valtio/.github/workflows/lint-and-type.yml

πŸ’Š Valtio makes proxy-state simple for React and Vanilla
Go to Latest
File
name: Lint and Type
on: push: branches: [main] pull_request: types: [opened, synchronize]
jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '12' cache: yarn - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - run: yarn install --frozen-lockfile --check-files - run: yarn install --frozen-lockfile --check-files working-directory: ./website - name: Prettier run: yarn prettier:ci - name: Lint run: yarn eslint:ci - name: Type run: yarn pretest