From 4fbcb14c3bd6a97d8c64eaf7742d42cc0c2558bb Mon Sep 17 00:00:00 2001 From: iamshabell <91321698+iamshabell@users.noreply.github.com> Date: Thu, 8 Feb 2024 02:56:36 +0300 Subject: [PATCH] Refactor GitHub Actions workflow --- .github/workflows/publish.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c1f69b8..79b50e1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,9 +3,6 @@ on: push: branches: - main -env: - CI: true - PNPM_CACHE_FOLDER: .pnpm-store jobs: version: timeout-minutes: 15 @@ -21,10 +18,6 @@ jobs: node-version: 18 - name: install pnpm run: npm i pnpm@latest -g - - name: Setup npmrc - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - - name: setup pnpm config - run: pnpm config set store-dir $PNPM_CACHE_FOLDER - name: install dependencies run: pnpm install - name: create and publish versions