fix(deps): update all core dependencies #2052
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- 'changeset-release/master' | |
pull_request: | |
paths: | |
- .changeset/** | |
- .github/workflows/ci.yml | |
- 'core/**' | |
- 'plugins/**' | |
- 'tools/**' | |
- 'package.json' | |
- 'pnpm-workspace.yaml' | |
jobs: | |
prepare: | |
runs-on: ubuntu-latest | |
name: setup verdaccio | |
services: | |
verdaccio: | |
image: verdaccio/verdaccio:5 | |
ports: | |
- 4873:4873 | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install pnpm | |
run: | | |
corepack enable | |
corepack prepare --activate pnpm@latest-8 | |
- name: Install | |
run: pnpm install --registry http://localhost:4873 | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
needs: prepare | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install pnpm | |
run: | | |
corepack enable | |
corepack prepare --activate pnpm@latest-8 | |
- name: Install | |
run: pnpm install --ignore-scripts | |
- name: Lint | |
run: pnpm lint | |
test: | |
needs: lint | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest] | |
node_version: [16, 18, 20, 21] | |
name: ${{ matrix.os }} / Node ${{ matrix.node_version }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node ${{ matrix.node_version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node_version }} | |
# - name: untar packages | |
# run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages | |
- name: Install pnpm | |
run: | | |
corepack enable | |
corepack prepare --activate pnpm@latest-8 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.pnpm-store | |
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} | |
- name: Install | |
run: pnpm install --frozen-lockfile --ignore-scripts | |
- name: build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |