Skip to content

Commit

Permalink
enable corepack in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Jun 8, 2024
1 parent a4f25ab commit 12ebc07
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
languages: ${{ matrix.language }}
paths: src

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
node-version: '20.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install
- name: Build dist files
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/validating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install

- name: Build
run: yarn run build

- name: Run test
run: yarn run test

- uses: cypress-io/github-action@v6
with:
start: yarn start-test-server
Expand Down

0 comments on commit 12ebc07

Please sign in to comment.