build(deps-dev): Bump typescript from 5.6.3 to 5.7.2 #786
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
test-node: | |
name: Unit Tests | |
runs-on: wallet-tools-linux-medium | |
permissions: | |
checks: write | |
pull-requests: write | |
contents: read | |
statuses: write | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- name: Setup NodeJS Environment | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 18.x | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests (Forked PR) | |
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository && !cancelled() && !failure() }} | |
run: npm run test | |
- name: Test | |
uses: step-security/jest-coverage-report-action@76665bcd3c049b52fbec7285d3ab218cd8dcf261 # v2.3.1 | |
if: ${{ ((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'push') && !cancelled() && !failure() }} | |
with: | |
test-script: npm run test | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a # v5.0.2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |