-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removes yarn from workflow to align with other repositories
Signed-off-by: Vincent Biret <[email protected]>
- Loading branch information
Showing
5 changed files
with
15,317 additions
and
7,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,9 @@ jobs: | |
- run: .\scripts\updateVersion.ps1 | ||
shell: pwsh | ||
working-directory: ./ | ||
- run: yarn install --frozen-lockfile --ignore-engines #spfx still not compatible with node 18 | ||
- run: yarn global add [email protected] | ||
- run: yarn run build | ||
- run: npm ci | ||
- run: npm install -g [email protected] | ||
- run: npm run build | ||
- name: Archive dist folders # archive dist folders to verify if they are transpiled correctly and available for publishing | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -40,14 +40,14 @@ jobs: | |
packages/serialization/text/dist | ||
packages/http/fetch/dist | ||
packages/authentication/azure/dist | ||
- run: yarn lerna run test:integrated | ||
- run: npx lerna run test:integrated | ||
if: ${{env.TENANT_ID != '' }} | ||
env: | ||
TENANT_ID: ${{secrets.tenant_id}} | ||
CLIENT_ID: ${{secrets.client_id}} | ||
CLIENT_SECRET: ${{secrets.client_secret}} | ||
USER_ID: "813956a3-4a30-4596-914f-bfd86a657a09" | ||
- run: yarn lerna run test --parallel | ||
- run: npx lerna run test --parallel | ||
|
||
publish-npm: | ||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'auto dependabot')}} | ||
|
@@ -67,9 +67,9 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_ACTOR: ${{ secrets.GIT_USERNAME }} | ||
- run: yarn install --frozen-lockfile --ignore-engines | ||
- run: yarn run build | ||
- run: lerna publish from-package --yes | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npx lerna publish from-package --yes | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.