⬆️ Update dependency typescript to v5.7.2 #448
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: Testing | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
jest: | |
name: Node.js ${{ matrix.node-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20, 22] | |
steps: | |
- name: ⤵️ Check out code from GitHub | |
uses: actions/checkout@v4.2.2 | |
- name: 🏗 Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 🏗 Install dependencies | |
run: npm ci | |
- name: 🚀 Run tests | |
run: npm test | |
- name: ⬆️ Upload coverage artifact | |
uses: actions/upload-artifact@v4.4.3 | |
with: | |
name: coverage-${{ matrix.node-version }} | |
path: coverage | |
retention-days: 1 | |
coverage: | |
runs-on: ubuntu-latest | |
needs: jest | |
steps: | |
- name: ⤵️ Check out code from GitHub | |
uses: actions/checkout@v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: ⬇️ Download coverage data | |
uses: actions/download-artifact@v4.1.8 | |
- name: 🚀 Upload coverage report | |
uses: codecov/codecov-action@v5.0.7 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |