File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ # Controls when the action will run.
4+ on :
5+ # Triggers the workflow on pull request events but only for the main branch
6+ pull_request :
7+ branches : [main]
8+ push :
9+ branches : [main]
10+ # Allows you to run this workflow manually from the Actions tab
11+ workflow_dispatch :
12+
13+ permissions :
14+ contents : read
15+
16+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+ jobs :
18+ lint :
19+ runs-on : ubuntu-latest
20+
21+ # Steps represent a sequence of tasks that will be executed as part of the job
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@v4
25+
26+ - name : Install Pnpm
27+ run : npm i -g corepack@latest --force && corepack enable
28+
29+ - name : Setup Node.js
30+ uses : actions/setup-node@v4
31+ with :
32+ node-version : 22
33+ cache : " pnpm"
34+
35+ - name : Install Dependencies
36+ run : pnpm install
37+
38+ - name : Run Lint
39+ run : pnpm run lint
Original file line number Diff line number Diff line change 1010 # Allows you to run this workflow manually from the Actions tab
1111 workflow_dispatch :
1212
13+ permissions :
14+ contents : read
15+
1316# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1417jobs :
1518 test :
Original file line number Diff line number Diff line change 11packages :
2- - ' playground'
2+ - playground
3+
4+ onlyBuiltDependencies :
5+ - core-js
6+ - simple-git-hooks
You can’t perform that action at this time.
0 commit comments