-
-
Notifications
You must be signed in to change notification settings - Fork 28
39 lines (31 loc) · 746 Bytes
/
lint.yml
File metadata and controls
39 lines (31 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Lint
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.VERCEL_TOKEN }}
TURBO_TEAM: ${{ secrets.VERCEL_TEAM }}
TURBO_CACHE_KEY: ubuntu-latest-16 # reuse cache key from ci workflow
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2.2.1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Install Dependencies
run: pnpm bootstrap
- name: Lint
run: pnpm run lint