node-casbin / sequelize-adapter

Sequelize adapter for Casbin
https://github.com/casbin/node-casbin
Apache License 2.0
64 stars 34 forks source link

fix: Require a frozen lockfile when build #68

Closed js-lowes closed 2 years ago

js-lowes commented 2 years ago

Fix: https://github.com/node-casbin/sequelize-adapter/issues/65

"--frozen-lockfile" will make it so that the yarn build process is reproducible and uses the versions of dependencies defined in the "yarn.lock" file.

From the yarn docs:

If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag.

...

yarn install --frozen-lockfile

Don’t generate a yarn.lock lockfile and fail if an update is needed.

casbin-bot commented 2 years ago

@nodece @Zxilly @Shivansh-yadav13 please review

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 3097809562


Totals Coverage Status
Change from base Build 3095339506: 0.0%
Covered Lines: 113
Relevant Lines: 122

💛 - Coveralls
js-lowes commented 2 years ago

@nodece @Zxilly @Shivansh-yadav13 I can't merge, waiting on someone with write access to merge this

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: