Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
flakey5 committed Mar 26, 2024
1 parent 4e5bdc1 commit 0adcfb1
Show file tree
Hide file tree
Showing 7 changed files with 1,100 additions and 11 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Tests

on:
push:
branches:
- main
pull_request:

jobs:
setup-node-modules:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Cache Dependencies
uses: actions/cache
with:
path: |
~/.npm
node_modules/.cache
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/test.yml') }}
restore-keys: ${{ runner.os }}-npm-

- name: Install Dependencies
run: npm install

lint:
name: Linting
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Run Linting
run: npm run lint

unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Run Tests
run: npm run test:unit

e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
needs: setup-node-modules
steps:
- name: Run Tests
run: npm run test:e2e
Loading

0 comments on commit 0adcfb1

Please sign in to comment.