build(deps): bump the npm_and_yarn group across 1 directory with 2 updates #87
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: ci | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
concurrency: | |
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Run lint | |
if: github.repository == 'skyclouds2001/template-sky' | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Install Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run lint | |
run: pnpm lint | |
tests: | |
name: Run test | |
if: github.repository == 'skyclouds2001/template-sky' | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Install Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run tests | |
run: pnpm test | |
- name: Upload test report | |
uses: actions/[email protected] | |
with: | |
name: test-report | |
path: | | |
vitest-report/ | |
coverage-report/ |