chore(deps): bump @types/node from 20.14.6 to 20.14.7 #4362
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: "build-test" | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
action-is-pristine: # make sure nothing changes in the action. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: streetsidesoftware/actions/public/setup-node-pnpm@v1 | |
- run: pnpm i | |
- run: git --no-pager diff --compact-summary --exit-code | |
clean-build: # make sure nothing changes with a clean build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: streetsidesoftware/actions/public/setup-node-pnpm@v1 | |
- run: pnpm i | |
# Ensure the repository is clean after build | |
- run: pnpm clean-build | |
# test TypeScript build | |
- run: | | |
cd action-src | |
pnpm build:tsc | |
- run: git --no-pager diff --compact-summary --exit-code | |
coverage: # run coverage and unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: streetsidesoftware/actions/public/setup-node-pnpm@v1 | |
- run: pnpm i | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: GITHUB_OUTPUT="" pnpm coverage | |
- name: Upload coverage Coveralls | |
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 # 2.3.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./action-src/coverage/lcov.info | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: "./action-src" | |
files: ./coverage/lcov.info |