Skip to content

Commit

Permalink
tweaks on build
Browse files Browse the repository at this point in the history
  • Loading branch information
vekexasia committed Mar 15, 2024
1 parent a5da88d commit 1bfad35
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-node/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ runs:
echo "node-version=${node_version#v}" >> "$GITHUB_OUTPUT"
- shell: bash
run: |
npm install -g corepack
npm install -g corepack@0.18.0
corepack enable
yarn set version stable
yarn set version v4.1.0
- name: Install node dependencies
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:

- name: Run lint
run: |
yarn --version
echo $(pwd)
yarn lint
build:
name: "Compile Typescript"
Expand Down
7 changes: 5 additions & 2 deletions build/reinstalldeps.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/usr/bin/env bash
rm -rf node_modules;
yarn
yarn install --immutable;
ls -la node_modules;
cd packages;
ordered_packages=("bigint-uint8array" "bigint-constrained" "bigint-math" "bigint-buffer-polyfill")
for package in "${ordered_packages[@]}"; do
cd $package;
rm -rf node_modules;
yarn
yarn install --immutable
ls -la node_modules;
cd ..;
done
cd ..

0 comments on commit 1bfad35

Please sign in to comment.