Skip to content

Commit

Permalink
Let's try using npm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines committed Sep 4, 2024
1 parent e7d12f2 commit fe374b4
Show file tree
Hide file tree
Showing 23 changed files with 12,753 additions and 1,344 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/lang-dot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:

- name: "Run build and test"
run: |
yarn install --frozen-lockfile
yarn build
yarn test
npm clean-install
npm run build
npm run test
working-directory: packages/lang-dot

- uses: actions/upload-artifact@v4
Expand All @@ -45,13 +45,13 @@ jobs:
with:
node-version: "20.x"

- name: "Run yarn install in package directory"
- name: "Install in package directory"
run: |
yarn install --frozen-lockfile
npm clean-install
working-directory: packages/lang-dot

- name: "Run check-types"
run: |
yarn install --frozen-lockfile
yarn check-types
npm clean-install
npm run check-types
working-directory: packages/lang-dot/test/types
16 changes: 8 additions & 8 deletions .github/workflows/viz-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: "Build"
run: |
yarn install --frozen-lockfile
npm clean-install
test -f lib/module.mjs && touch lib/module.mjs
test -f lib/module.wasm && touch lib/module.wasm
make
Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:

- name: "Run tests"
run: |
yarn install --frozen-lockfile
yarn test
npm clean-install
npm run test
working-directory: packages/viz

test-consume:
Expand All @@ -86,13 +86,13 @@ jobs:

- name: "Run module-import test"
run: |
yarn install --frozen-lockfile
npm clean-install
node index.js
working-directory: packages/viz/test/module-import

- name: "Run commonjs-require test"
run: |
yarn install --frozen-lockfile
npm clean-install
node index.js
working-directory: packages/viz/test/commonjs-require

Expand All @@ -108,11 +108,11 @@ jobs:

- name: "Run yarn install in package directory"
run: |
yarn install --frozen-lockfile
npm clean-install
working-directory: packages/viz

- name: "Run check-types"
run: |
yarn install --frozen-lockfile
yarn check-types
npm clean-install
npm run check-types
working-directory: packages/viz/test/types
4 changes: 2 additions & 2 deletions .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
node-version: "20.x"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm clean-install

- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

- name: Build website
run: yarn build --public-url "${{ steps.pages.outputs.base_path }}/"
run: npm run build --public-url "${{ steps.pages.outputs.base_path }}/"
timeout-minutes: 1
working-directory: packages/website

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:

- name: "Run tests"
run: |
yarn install --frozen-lockfile
yarn test
npm clean-install
npm run test
working-directory: packages/website
Loading

0 comments on commit fe374b4

Please sign in to comment.