Skip to content

Commit

Permalink
Use npm install -g instead of npx in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmielnik committed Jul 18, 2024
1 parent 5ffe70c commit d19dac1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npx.yml → .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: npx
name: npm

on:
push:
Expand All @@ -16,6 +16,7 @@ jobs:
node-version: 20.x
- uses: cypress-io/github-action@v6
with:
build: npx scrabble-solver@latest
build: npm install -g scrabble-solver@latest
start: scrabble-solver
env:
CYPRESS_BASE_URL: http://localhost:3333
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<p>
<img src="https://github.com/kamilmielnik/scrabble-solver/actions/workflows/build.yml/badge.svg" alt="Build" />
<img src="https://github.com/kamilmielnik/scrabble-solver/actions/workflows/npx.yml/badge.svg" alt="npx" />
<img src="https://github.com/kamilmielnik/scrabble-solver/actions/workflows/npm.yml/badge.svg" alt="npm" />
<img src="https://github.com/kamilmielnik/scrabble-solver/actions/workflows/jest.yml/badge.svg" alt="Jest Tests" />
<img src="https://github.com/kamilmielnik/scrabble-solver/actions/workflows/cypress.yml/badge.svg" alt="Cypress Tests" />
<img src="https://github.com/kamilmielnik/scrabble-solver/actions/workflows/eslint.yml/badge.svg" alt="ESLint" />
Expand Down
Empty file modified bin/scrabble-solver.js
100644 → 100755
Empty file.

0 comments on commit d19dac1

Please sign in to comment.