Skip to content

Commit

Permalink
fix(ci): use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Oct 1, 2024
1 parent 69e545a commit 88afbff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:

- name: Build
run: |
bun install
bun run build
npm install
npm run build
- name: Upload build artifact
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
with:
node-version: "20.10.0"

- name: Install cspell
run: bun add cspell
- name: Install
run: npm install

- name: Run cspell
run: bun run format:cspell
run: npm run format:cspell
6 changes: 4 additions & 2 deletions .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
node-version: 20.10.0
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: bun run build
start: bun run start
build: npm run build
start: npm run start
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 88afbff

Please sign in to comment.