Skip to content

Commit

Permalink
feat: init workflows (unit tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
belphegor-s committed Oct 3, 2023
1 parent 9ce5354 commit b9e0b39
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Unit Tests

on: [pull_request, push]

jobs:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: pnpm install global
run: npm i -g pnpm
- name: deps install
run: pnpm i
- name: tests
run: pnpm test

0 comments on commit b9e0b39

Please sign in to comment.