25
25
- run : .\scripts\updateVersion.ps1
26
26
shell : pwsh
27
27
working-directory : ./
28
- - run : yarn install --frozen-lockfile --ignore-engines # spfx still not compatible with node 18
29
- - run : yarn global add mocha@10.X
30
- - run : yarn run build
28
+ - run : npm ci
29
+ - run : npm install -g mocha@10.X
30
+ - run : npm run build
31
31
- name : Archive dist folders # archive dist folders to verify if they are transpiled correctly and available for publishing
32
32
uses : actions/upload-artifact@v4
33
33
with :
@@ -40,14 +40,14 @@ jobs:
40
40
packages/serialization/text/dist
41
41
packages/http/fetch/dist
42
42
packages/authentication/azure/dist
43
- - run : yarn lerna run test:integrated
43
+ - run : npx lerna run test:integrated
44
44
if : ${{env.TENANT_ID != '' }}
45
45
env :
46
46
TENANT_ID : ${{secrets.tenant_id}}
47
47
CLIENT_ID : ${{secrets.client_id}}
48
48
CLIENT_SECRET : ${{secrets.client_secret}}
49
49
USER_ID : " 813956a3-4a30-4596-914f-bfd86a657a09"
50
- - run : yarn lerna run test --parallel
50
+ - run : npx lerna run test --parallel
51
51
52
52
publish-npm :
53
53
if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'auto dependabot')}}
67
67
env:
68
68
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69
69
GITHUB_ACTOR: ${{ secrets.GIT_USERNAME }}
70
- - run : yarn install --frozen-lockfile --ignore-engines
71
- - run : yarn run build
72
- - run : lerna publish from-package --yes
70
+ - run : npm ci
71
+ - run : npm run build
72
+ - run : npx lerna publish from-package --yes
73
73
env :
74
74
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
75
75
0 commit comments