Skip to content

Commit

Permalink
feat(github): run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafegoldberg committed Dec 24, 2021
1 parent 565126c commit 5834acf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test
on: [push, pull_request]
jobs:
run-test:
name: Test
if: "!contains(github.event.head_commit.message, 'SKIP CI')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [14.x]
steps:
- name: Checkout branch (${{ github.ref }})
uses: actions/checkout@master
- name: Configure git
run: |
git config user.name "Action"
git config user.email "rafegoldberg@gmail.com"
- name: Setup node (v${{ matrix.node-version }})
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: |
npm ci
- name: Run Tests
run: |
npm test

0 comments on commit 5834acf

Please sign in to comment.