Skip to content

Commit ed9e809

Browse files
committed
use yarn install immutable
1 parent 5c1e795 commit ed9e809

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
uses: actions/[email protected]
2020
with:
2121
node-version-file: ".nvmrc"
22-
- run: npm install
23-
- run: npm test
22+
- run: yarn install --immutable
23+
- run: yarn test

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- uses: actions/[email protected]
1616
with:
1717
node-version-file: ".nvmrc"
18-
- run: npm install
19-
- run: npm test
18+
- run: yarn install --immutable
19+
- run: yarn test
2020

2121
publish-npm:
2222
needs: build
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: 18
2929
registry-url: https://registry.npmjs.org/
30-
- run: npm install
30+
- run: yarn install --immutable
3131
- run: npm publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"build": "tsc && rollup -c",
2828
"test": "tsc && prettier --check . && mocha --loader=ts-node/esm",
2929
"format": "prettier --write .",
30-
"prepublishOnly": "rm -rf dist && yarn build && npm test"
30+
"prepublishOnly": "rm -rf dist && yarn build && yarn test"
3131
},
3232
"author": "Paulus Schoutsen <[email protected]>",
3333
"license": "Apache-2.0",

0 commit comments

Comments
 (0)