Skip to content

Commit 3bf2302

Browse files
committed
ci: add GitHub Action for linting
Signed-off-by: Tierney Cyren <[email protected]>
1 parent 758cb11 commit 3bf2302

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Test Suite: Linter"
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
tests:
12+
if: github.repository == 'twilio-labs/plugin-token'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout the repository
16+
uses: actions/checkout@v4
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: current
21+
- name: Run npm install
22+
run: npm install
23+
- name: Run npm run biome:lint
24+
run: npm run biome:lint

0 commit comments

Comments
 (0)