Skip to content

rename title bars to zap.cooking #22

rename title bars to zap.cooking

rename title bars to zap.cooking #22

Workflow file for this run

name: Run checks
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
npm-install:
runs-on: ubuntu-latest
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
svelte-check:
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 svelte-check πŸ”¬
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