Skip to content

Commit

Permalink
Add npm dependencies with lockfile (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen authored Apr 8, 2024
1 parent 951462f commit c7b27c5
Show file tree
Hide file tree
Showing 4 changed files with 1,800 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install [email protected]
- run: npm clean-install
- run: git checkout .
- run: npm version --no-git-tag-version `node -e 'pacote=require("pacote");pacote.manifest("crawler-user-agents").then(pkgJson => { console.log(pkgJson.version); });'`
- run: npm version --no-git-tag-version patch
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python: 3.11.0

install:
- pip3 install jsonschema pytest
- npm install [email protected]
- npm clean-install

script:
- set -e
Expand Down
Loading

0 comments on commit c7b27c5

Please sign in to comment.