Add renovate.json #4
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 | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-old: | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name != 'pull_request' || github.repository_owner != github.event.pull_request.head.repo.owner.login }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 18.x | |
- 16.x | |
- 14.x | |
- 12.x | |
- 10.x | |
- 8.x | |
steps: | |
- name: Checkout | |
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
with: | |
show-progress: false | |
- name: install pnpm | |
run: curl -fsSL https://get.pnpm.io/install.sh | bash - | |
- name: Setup node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: pnpm | |
- name: Install project | |
run: pnpm install --frozen-lockfile | |
- name: test | |
run: pnpm test | |
test: | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name != 'pull_request' || github.repository_owner != github.event.pull_request.head.repo.owner.login }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
with: | |
show-progress: false | |
- name: enable corepack | |
run: corepack enable | |
- name: Setup node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version-file: .node-version | |
cache: pnpm | |
- name: enable corepack | |
run: corepack enable | |
- name: Install project | |
run: pnpm install --frozen-lockfile | |
- name: test | |
run: pnpm test |