From 2d54b2e1c6e77c160ad100aa51270f8e279501ee Mon Sep 17 00:00:00 2001 From: etowahadams Date: Fri, 8 Dec 2023 14:46:10 -0500 Subject: [PATCH] fix: make work in ci --- .github/workflows/ci.yml | 3 +++ .github/workflows/deploy-editor.yml | 1 + .github/workflows/release.yml | 1 + package.json | 1 + 4 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db8a6146..a1bd5110 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 + - uses: pnpm/action-setup@v2 - run: pnpm install - run: pnpm build-editor env: @@ -37,6 +38,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - uses: pnpm/action-setup@v2 - run: pnpm install - run: | pnpm build-types # typecheck @@ -55,6 +57,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 + - uses: pnpm/action-setup@v2 - run: pnpm install - name: ESLint run: pnpm eslint src/ editor/ diff --git a/.github/workflows/deploy-editor.yml b/.github/workflows/deploy-editor.yml index c432f16d..6b13fbc0 100644 --- a/.github/workflows/deploy-editor.yml +++ b/.github/workflows/deploy-editor.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 + - uses: pnpm/action-setup@v2 - run: pnpm install - run: pnpm build-editor env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f48548b5..6eeec497 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ + - uses: pnpm/action-setup@v2 - run: pnpm - run: pnpm build - run: pnpm publish diff --git a/package.json b/package.json index 6482907c..e28b7721 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "main": "dist/gosling.js", "module": "dist/gosling.js", "types": "dist/src/index.d.ts", + "packageManager": "pnpm@8.6.11", "files": [ "dist" ],