Skip to content

Commit

Permalink
ci new
Browse files Browse the repository at this point in the history
  • Loading branch information
github-tijlxyz committed Mar 22, 2024
1 parent 1849d7b commit b182001
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
npm ci
checks:
svelte-check:
runs-on: ubuntu-latest
needs: [npm-install]
steps:
Expand All @@ -51,6 +51,28 @@ jobs:
run: |
npm run check
check-lint:
runs-on: ubuntu-latest
needs: [npm-install]
steps:
- name: Checkout 🛎️
uses: actions/[email protected]

- name: Use cache for npm 🎁
id: cache-npm
uses: actions/cache@v2
with:
path: |
~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install npm packages 📦
run: |
npm ci
- name: Run linter 🕵️
run: |
npm run lint

0 comments on commit b182001

Please sign in to comment.