Skip to content

Commit

Permalink
chore(replicache): Use public licensing npm package (#2079)
Browse files Browse the repository at this point in the history
The `@rocicorp/licensing` npm package is now public so we do not need
to configure the npm auth token.
  • Loading branch information
arv authored Jul 24, 2024
1 parent 19d54d3 commit f40341f
Show file tree
Hide file tree
Showing 8 changed files with 1,959 additions and 151 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/bundle-sizes.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm ci
- run: npm run --workspace=replicache build-bundle-sizes
- run: brotli packages/replicache/out/*
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm ci
- if: github.event_name == 'pull_request'
run: npm run check-format -- --filter="[${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}]"
Expand All @@ -50,10 +46,6 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm ci
- if: github.event_name == 'pull_request'
run: npm run lint -- --filter="[${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}]"
Expand All @@ -74,10 +66,6 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm ci
- if: github.event_name == 'pull_request'
run: npm run check-types -- --filter="...[${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}]"
Expand All @@ -99,11 +87,6 @@ jobs:
node-version: 18.x
cache: 'npm'

- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

- run: npm ci

- name: Install Playwright Deps
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/perf-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
node-version: 18.x
cache: 'npm'

- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

- run: npm ci

- name: Install Playwright Deps
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/perf-v2.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
# Clear out potential user data dirs left over from previous failures.
- run: rm -rf /tmp/replicache-playwright-*

- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

- run: npm ci

- run: npx playwright install --with-deps
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/syncpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@ jobs:
with:
node-version: 18.x
cache: 'npm'
- name: configure npm auth token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm ci
- run: npx syncpack list-mismatches
Loading

0 comments on commit f40341f

Please sign in to comment.