Skip to content

Commit

Permalink
chore: gha lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gularsson committed Nov 3, 2023
1 parent c02a4c6 commit c78b83c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint code

on:
push:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
registry-url: "https://npm.pkg.github.com"
- name: Install
run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Lint
run: npm run lint

0 comments on commit c78b83c

Please sign in to comment.