Skip to content

Commit

Permalink
update dev deps and adds Test GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed May 9, 2023
1 parent 9dbc71f commit a88d1ac
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 260 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Tests

on:
push:
branches:
- main
- '!dependabot/**'
pull_request:
workflow_dispatch:

env:
FORCE_COLOR: 2

permissions:
contents: read

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [16]
os: [ubuntu-latest]

steps:
- name: Clone repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm

- name: Install npm dependencies
run: npm ci

- name: Run tests
run: npm test
Loading

0 comments on commit a88d1ac

Please sign in to comment.