Skip to content

Commit

Permalink
Remove other yarn uses
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindet committed May 27, 2024
1 parent 77b6489 commit 45a304a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn lint
- run: yarn test
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm test
env:
PGHOST: localhost
PGPORT: 5432
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ dist
*.map

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# IDE
.vscode
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
"pg:clean": "docker rm -f graffypg",
"pg:psql": "docker run --name pgrepl -e POSTGRES_PASSWORD=graffy -d postgres:alpine && until docker exec -it pgrepl psql -U postgres; do sleep 0.5; done ; docker rm -f pgrepl"
},
"workspaces": [
"src/*"
],
"workspaces": ["src/*"],
"author": "aravindet",
"license": "Apache-2.0",
"bugs": {
Expand Down Expand Up @@ -62,4 +60,4 @@
"pg": "^8.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
}
}
2 changes: 1 addition & 1 deletion src/pg/test/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function setupPgServer() {
'Possible reasons:\n' +
'1. You might not have Docker installed.\n' +
'2. The last test run might not have exited properly.\n' +
' Run yarn pg:clean to fix this.\n' +
' Run npm run pg:clean to fix this.\n' +
'Docker might have printed a detailed error message above.',
);

Expand Down

0 comments on commit 45a304a

Please sign in to comment.