Skip to content

Commit

Permalink
Merge pull request #7 from marshift/feat/overhaul-unit-tests
Browse files Browse the repository at this point in the history
overhaul: make unit tests dependency-less
  • Loading branch information
twnlink authored Aug 29, 2024
2 parents a8eff82 + 1cfefad commit b9ceea5
Show file tree
Hide file tree
Showing 11 changed files with 238 additions and 1,332 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Run Unit Tests
name: Run unit tests

on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]

workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "22"

- name: Setup Node
uses: actions/setup-node@v2
- uses: pnpm/action-setup@v4
with:
node-version: "16"
version: "9"

- name: Install deps and build
run: npm ci
- name: Install dependencies
run: pnpm i

- name: Test
run: npm test
run: pnpm test
Loading

0 comments on commit b9ceea5

Please sign in to comment.