Skip to content

Commit

Permalink
ci: don't use custom github action for yarn install
Browse files Browse the repository at this point in the history
Caching seems incredibly slow...
  • Loading branch information
sd2k committed Nov 12, 2024
1 parent 7b2002b commit 5d2195f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 107 deletions.
105 changes: 0 additions & 105 deletions .github/actions/yarn-nm-install/action.yml

This file was deleted.

12 changes: 10 additions & 2 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Test using Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn

- name: Install dependencies
uses: ./.github/actions/yarn-nm-install
run: yarn install --immutable --inline-builds

- name: Test library
run: yarn test --scope '@grafana/scenes-ml'
Expand Down Expand Up @@ -51,13 +55,17 @@ jobs:
- name: Prepare repository
run: git fetch --unshallow --tags

- name: Enable Corepack
run: corepack enable

- name: Test using Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn

- name: Install dependencies
uses: ./.github/actions/yarn-nm-install
run: yarn install --immutable --inline-builds

- name: Build library
run: yarn run lerna run build --no-private
Expand Down

0 comments on commit 5d2195f

Please sign in to comment.