Skip to content

Commit

Permalink
swap to npm (#401)
Browse files Browse the repository at this point in the history
* swap to npm

* use npm in CI build/test workflows as well
  • Loading branch information
echo-bravo-yahoo authored Oct 22, 2024
1 parent c819808 commit cccc904
Show file tree
Hide file tree
Showing 7 changed files with 4,037 additions and 39 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ commands:

- run:
name: Install dependencies
command: yarn install
command: npm ci

- run:
name: Run Tests
command: yarn test
command: npm test

- store_test_results:
path: test-results.xml
Expand Down
4 changes: 2 additions & 2 deletions concourse/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -eou

cd ./fauna-shell-repository

yarn install
yarn build
npm ci
npm run build

PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
NPM_LATEST_VERSION=$(npm view fauna-shell version)
Expand Down
2 changes: 1 addition & 1 deletion concourse/tasks/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ services:
- |
apk add curl
concourse/scripts/wait-for-it.sh http://core:8443/ping
yarn install && yarn run test
npm ci && npm run test
4 changes: 2 additions & 2 deletions concourse/tasks/schema-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ run:
- |
npm install -g zx
cd fauna-shell-repository
yarn install
yarn build
npm ci
npm run build
faunaCmd="$(pwd)/bin/dev"
cd fsl
./test-script.mjs "$faunaCmd"
Loading

0 comments on commit cccc904

Please sign in to comment.