Skip to content

Commit

Permalink
Attempt at testing some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Nov 9, 2023
1 parent 388b50f commit 7fd98be
Show file tree
Hide file tree
Showing 6 changed files with 856 additions and 49 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test with vitest

on:
push:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run coverage
- uses: coverallsapp/github-action@v2
with:
- name: Set up Node
uses: actions/setup-node@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo 'pretty_files=' **/*.{json,md,?s,?sx} >> "$GITHUB_ENV"
- run: echo "$pretty_files"
- run: npm ci
- run: ./node_modules/.bin/prettier -l "$pretty_files"
48 changes: 0 additions & 48 deletions .github/workflows/pages.yml

This file was deleted.

Loading

0 comments on commit 7fd98be

Please sign in to comment.