Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Nov 6, 2024
1 parent 888e495 commit e1cd3cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,23 @@ jobs:
name: Code Quality
runs-on: ubuntu-latest

env:
DATOCMS_API_TOKEN: ${{ secrets.DATOCMS_API_TOKEN }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint
env:
DATOCMS_API_TOKEN: ${{ secrets.DATOCMS_API_TOKEN }}

0 comments on commit e1cd3cd

Please sign in to comment.