Skip to content

Commit

Permalink
ci: switch to npm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjablack committed Oct 21, 2024
1 parent f628c02 commit a614b82
Show file tree
Hide file tree
Showing 9 changed files with 30,272 additions and 15,778 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
with:
node-version: 'lts/*'

- name: Setup Yarn
run: yarn set version 3.2.0

- name: Cache Bitcoin node
id: bitcoin-cache
uses: actions/cache@v2
Expand All @@ -43,27 +40,27 @@ jobs:
id: node-modules-cache
uses: actions/cache@v2
with:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
path: |
node_modules
*/*/node_modules
- name: Install dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: yarn install --immutable
run: npm ci

- name: Debug - List Processes
run: ps aux

- run: yarn build
- run: npm run build

- name: Debug - List Processes
run: ps aux

- name: Run tests with detailed output
run: |
echo "::group::Detailed Test Output"
yarn test
npm run test:integration:sequential
echo "::endgroup::"
- name: Get test coverage
Expand Down
Loading

0 comments on commit a614b82

Please sign in to comment.