chore(deps): update node.js #2083
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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
DISCORD_SNOWFLAKE: ${{ vars.DISCORD_SNOWFLAKE }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: pnpm/action-setup@v4.0.0 | |
- uses: actions/setup-node@v4.1.0 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --prefer-offline | |
- name: Run build | |
run: pnpm build | |
- name: Run tests | |
run: pnpm run test | |
- name: Report Coverage | |
if: always() | |
uses: davelosert/vitest-coverage-report-action@v2 |