Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Setup running test on push and PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mdafanasev committed Nov 8, 2021
1 parent d4cd09e commit 11a64d5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '17.x'
registry-url: 'https://registry.npmjs.com'
scope: '@afsv'
- run: npm install
- run: npm run format:check
- run: npm run test

0 comments on commit 11a64d5

Please sign in to comment.