Skip to content

Commit

Permalink
Use npm instead of yarn in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Jul 24, 2023
1 parent 76a314e commit 9466a60
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,26 +136,13 @@ jobs:
- name: Grant permission to run ppx
run: chmod +x _build/default/bin/bin.exe

- name: Get cache directory path
id: yarn-cache-dir-path
working-directory: ./e2e/rescript-v9-JSX3
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Load global cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: yarn-${{ matrix.os }}-${{ hashFiles('./e2e/yarn.lock') }}
restore-keys: yarn-${{ matrix.os }}-

- name: Install dependencies
working-directory: ./e2e/rescript-v9-JSX3
run: yarn
run: npm install --force

- name: Test
working-directory: ./e2e/rescript-v9-JSX3
run: yarn test
run: npm run test

publish:
name: Publish
Expand Down

0 comments on commit 9466a60

Please sign in to comment.