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-