File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed
Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1111 pull_request :
1212 branches :
1313 - master
14+ permissions :
15+ contents : read
1416
1517jobs :
1618 build :
1719 name : " Build & Test"
20+ permissions :
21+ contents : read
1822 runs-on : ubuntu-latest
1923 steps :
2024 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+ with :
26+ persist-credentials : false
2127 - uses : actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
2228 with :
23- node-version-file : ' .nvmrc'
24- registry-url : ' https://registry.npmjs.org'
25- cache : ' yarn'
29+ node-version-file : " .nvmrc"
30+ registry-url : " https://registry.npmjs.org"
31+ cache : " yarn"
2632
2733 - name : Install Lerna
2834 run : yarn global add lerna@6
2935
3036 - run : yarn setup
3137 - run : yarn lint --stream
3238 - run : yarn build --stream
39+ env :
40+ NODE_OPTIONS : --openssl-legacy-provider
3341 - run : yarn test --stream
3442 - run : cp README.md packages/vue2 && cp README.md packages/vue3
3543 - run : cp -r packages/vue2/types packages/vue3
Original file line number Diff line number Diff line change 1- 16.14
1+ 20
Original file line number Diff line number Diff line change 2323 },
2424 "scripts" : {
2525 "test" : " npm run test:unit && npm run test:types" ,
26- "test:unit" : " vue-cli-service test:unit" ,
26+ "test:unit" : " NODE_OPTIONS=--openssl-legacy-provider vue-cli-service test:unit" ,
2727 "test:types" : " tsc -p types/__tests__" ,
28- "lint" : " vue-cli-service lint --no-fix" ,
29- "lint:fix" : " vue-cli-service lint" ,
30- "build" : " vue-cli-service build --target lib src/main.js" ,
28+ "lint" : " NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint --no-fix" ,
29+ "lint:fix" : " NODE_OPTIONS=--openssl-legacy-provider vue-cli-service lint" ,
30+ "build" : " NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build --target lib src/main.js" ,
3131 "serve" : " npm run --prefix examples/traditional-vue2 serve" ,
3232 "serve:ts" : " npm run --prefix examples/ts-vue2 serve"
3333 },
You can’t perform that action at this time.
0 commit comments