From 1851324682245799eb102806a797110a93deb2fa Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:05:45 -0500 Subject: [PATCH] fix(ci): deletes old file --- .github/actions/install/action.yml | 10 ++++---- .github/workflows/_base.yml | 40 ------------------------------ 2 files changed, 5 insertions(+), 45 deletions(-) delete mode 100644 .github/workflows/_base.yml diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index 4bd9ecb..2411076 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -4,17 +4,17 @@ description: 'Sets up Node, and installs dependencies' runs: using: 'composite' steps: - - name: Set up PNPM - uses: pnpm/action-setup@v3 - with: - version: '7' - - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: 20 cache: pnpm + - name: Install pnpm + shell: bash + run: | + npm install -g pnpm + - name: Install dependencies shell: bash run: | diff --git a/.github/workflows/_base.yml b/.github/workflows/_base.yml deleted file mode 100644 index ed2a7ac..0000000 --- a/.github/workflows/_base.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Setup Workflow - -on: - workflow_call: - inputs: - node_version: - type: string - required: true - -jobs: - setup: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - token: ${{ secrets.GITHUB_TOKEN }} - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ inputs.node_version}} - - - name: Install pnpm - run: npm install -g pnpm - - - name: Install dependencies with pnpm - run: pnpm install - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Cache pnpm store - uses: actions/cache@v3 - with: - path: ./.pnpm-store - key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} # Cache key based on OS and lockfile hash - restore-keys: | - ${{ runner.os }}-pnpm-