Skip to content

Commit

Permalink
fix: action deps
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Oct 22, 2024
1 parent 13052e9 commit c151913
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
description: 'Download the Electron binary'
required: false
default: 'true'
corepack-install:
description: 'Install CorePack'
required: false
default: 'false'
hard-link-nm:
description: 'set nmMode to hardlinks-local in .yarnrc.yml'
required: false
Expand All @@ -42,6 +46,11 @@ runs:
registry-url: https://npm.pkg.github.com
scope: '@toeverything'

- name: Init CorePack
if: ${{ inputs.corepack-install == 'true' }}
shell: bash
run: corepack enable

- name: Set nmMode
if: ${{ inputs.hard-link-nm == 'false' }}
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ jobs:

copilot-e2e-test:
name: Server Copilot E2E Test
runs-on: self-hosted
runs-on: [self-hosted, copilot-ci]
env:
DISTRIBUTION: web
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
Expand Down Expand Up @@ -425,6 +425,7 @@ jobs:
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
corepack-install: true
playwright-install: true
hard-link-nm: false

Expand Down

0 comments on commit c151913

Please sign in to comment.