Skip to content

Commit

Permalink
add a workflow for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 7, 2023
1 parent 5934add commit 75251a0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Run tests"

on:
workflow_dispatch:

jobs:
release:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "latest"
registry-url: https://registry.npmjs.org

- name: Install package dependencies
run: npm install

- name: build package
run: npm run build

- name: Run tests
run: npm run test:run

0 comments on commit 75251a0

Please sign in to comment.