Skip to content

Commit

Permalink
ci: update pnpm to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Aug 8, 2024
1 parent e058d50 commit ba9e643
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,39 @@ on:

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install pnpm
run: npm i -g pnpm@^8
- name: install deps
run: pnpm i
- name: lint
run: pnpm lint
- name: build
run: pnpm build
- name: test
run: pnpm test:cov
- name: E2E test
run: pnpm test:e2e
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install pnpm
run: npm i -g pnpm@^9
- name: install deps
run: pnpm i
- name: lint
run: pnpm lint
- name: build
run: pnpm build
- name: test
run: pnpm test:cov
- name: E2E test
run: pnpm test:e2e

auto-merge:
needs: test
if: contains(github.event.pull_request.user.login, 'dependabot') || contains(github.event.pull_request.user.login, 'renovate')
runs-on: ubuntu-latest
steps:
- name: automerge
uses: pascalgn/automerge-action@v0.16.3
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
MERGE_METHOD: rebase
- name: automerge
uses: pascalgn/automerge-action@v0.16.3
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
MERGE_LABELS: ''
MERGE_METHOD: rebase

0 comments on commit ba9e643

Please sign in to comment.