Skip to content

Commit

Permalink
Merge pull request #59 from sparkgeo/tooling
Browse files Browse the repository at this point in the history
Actions: Move Tests into a Separate Workflow
  • Loading branch information
atweedie authored Dec 6, 2024
2 parents d6ed18c + 5e10088 commit ac8fa6d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:

- name: Install dependencies
run: npm ci

- name: Run Vitest tests
run: npm run test -- --run --coverage=false

- id: build-publish
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run Status Checks

on:
push:
branches:
- '**'
- '!main'
- '!dev'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.11.0'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run Vitest tests
run: npm run test -- --run --coverage=false

0 comments on commit ac8fa6d

Please sign in to comment.