Skip to content

feat: GitHub Action to run unit tests #6

feat: GitHub Action to run unit tests

feat: GitHub Action to run unit tests #6

Workflow file for this run

name: Svelte Continuous Integration
on:
push:
pull_request:
jobs:
continuous-integration:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- name: Clean install a project
run: npm ci
- name: Format Code
run: npm run format
- name: Check Code
run: npm run lint
- name: Test Code
run: npm run test