Skip to content

Commit

Permalink
Create test action
Browse files Browse the repository at this point in the history
  • Loading branch information
johndocks authored Apr 12, 2024
1 parent 91efd92 commit 220b624
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Merging to Master

on:
pull_request:
branches: [ "master" ]

concurrency: ${{ github.workflow }}-${{ github.ref }}

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

- uses: actions/setup-node@v3
with:
node-version-file: '.node-version'

- run: npm ci

- run: npm test

0 comments on commit 220b624

Please sign in to comment.