Skip to content

add tests

add tests #1087

Workflow file for this run

name: Build and test
on:
pull_request:
branches:
- "main"
- "release/*"
jobs:
test:
permissions:
packages: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: yarn
- name: Compile Typescript
run: yarn build
- name: Run tests
run: yarn test