Skip to content

chore: github actions #6

chore: github actions

chore: github actions #6

Workflow file for this run

name: jest-test
env:
CI: true
on: [push]
#on:
# push:
# branches: [ develop, master ]
# pull_request:
# branches: [ develop, master ]
jobs:
test:
if: github.event.pull_request.draft == false
runs-on: [ self-hosted, macOS, ARM64 ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Prepare Environment
uses: ./.github/actions/prepare-env
- name: Run tests
run: npx jest --coverage --forceExit --detectOpenHandles
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}