Skip to content

chore: use read-only token for nx cloud in source control #6501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:

env:
PRIMARY_NODE_VERSION: 18
# Only set the read-write token if we are on the main branch
NX_CLOUD_ACCESS_TOKEN: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && secrets.NX_CLOUD_ACCESS_TOKEN }}

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": ["build", "lint", "package", "prebuild", "test"],
"accessToken": "YjFjNTBhOWUtY2JmNy00ZDhiLWE5N2UtZjliNDAwNmIzOTdjfHJlYWQtd3JpdGU="
"accessToken": "YjIzMmMxMWItMjhiMS00NWY2LTk1NWYtYWU3YWQ0YjE4YjBlfHJlYWQ="
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion packages/website/tests/playground.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ test.describe('Playground', () => {
await new AxeBuilder({ page }).analyze();
});

test('Usage', async ({ page }) => {
// TODO: fix this test and reenable it
test.skip('Usage', async ({ page }) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracking issue?

// 1. Type some valid code in the playground
await writeInEditor(page, 'let value: string[];');

Expand Down