Skip to content

Commit

Permalink
Add test running GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Nov 15, 2023
1 parent 876bd9d commit c5c34ec
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Dependencies
run: yarn

- name: Build All
run: yarn build

- name: Run Tests
run: yarn test

- name: Run Linter Checks
run: yarn fmt && yarn lint && (git diff-index --quiet HEAD; git diff)

0 comments on commit c5c34ec

Please sign in to comment.