Skip to content

Commit

Permalink
Add Test github action
Browse files Browse the repository at this point in the history
Trying out a GitHub template, modified to run the test script
  • Loading branch information
mik-jozef authored Nov 17, 2023
1 parent 25468ab commit 5291833
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: T

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 20.x ]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Test
run: |
yarn install --frozen-lockfile
yarn run test

0 comments on commit 5291833

Please sign in to comment.