autolevel.js

Automatically use the right abstract-leveldown module for your configuration
git clone git://git.finwo.net/lib/autolevel.js
Log | Files | Refs | README | LICENSE

commit f3e8502e2cc0c861e8c40f1bbfd747cb1e0fd248
parent 6e05eaae31fd6ca73bb42e7310f7fc84005bdd1d
Author: finwo <finwo@pm.me>
Date:   Sat, 24 Jul 2021 03:21:34 +0200

Updated nodejs workflow

Diffstat:
M.github/workflows/nodejs.yml | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci + - run: npm install - run: npm run build --if-present - run: npm test env: @@ -37,8 +37,9 @@ jobs: with: node-version: 14 registry-url: https://registry.npmjs.org/ + - run: rm -rf node_modules - run: npm ci - - run: npm build + - run: npm run build --if-present - run: if [ $(npm view $(node -p "require('./package.json').name") version) != $(node -p "require('./package.json').version") ]; then npm publish ; fi env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}