Skip to content

Tests

Tests #422

Workflow file for this run

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Tests"
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
# eslint-disable-next-line yml/no-empty-mapping-value
pull_request: # yamllint disable-line rule:empty-values
merge_group: # yamllint disable-line rule:empty-values
concurrency:
group: "ci-tests-${{ github.ref }}-1"
cancel-in-progress: true
permissions:
contents: "read"
jobs:
test:
name: "Build & Unit Test: node-20"
runs-on: "ubuntu-latest"
steps:
- name: "Harden Runner"
uses: "step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7" # v2.10.1
with:
egress-policy: "audit"
- name: "Git checkout"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4.2.2
env:
GIT_COMMITTER_NAME: "GitHub Actions Shell"
GIT_AUTHOR_NAME: "GitHub Actions Shell"
EMAIL: "github-actions[bot]@users.noreply.github.com"
- name: "Setup resources and environment"
id: "setup"
uses: "anolilab/workflows/step/setup@main"
with:
node-version: "20"
install-bun: false
enable-nx-cache: false
- name: "Test"
run: "pnpm run test"