Skip to content
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

Ensure deps are deduped to keep lockfile smaller #1150

Merged
merged 3 commits into from
Jul 31, 2024
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
13 changes: 5 additions & 8 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .yarnrc.yml
if: github.actor != 'dependabot[bot]'
run: |
yarn config set npmAuthToken $NPM_TOKEN || echo "No NPM_TOKEN found"
yarn config set npmAlwaysAuth true
echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > ~/.npmrc || echo "No NPM_TOKEN found"
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Install
run: yarn install --immutable
- name: Ensure deps are deduped
run: yarn dedupe --check
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Lint
Expand All @@ -57,3 +53,4 @@ jobs:
GIT_NAME: ${{secrets.GIT_NAME}}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
npmAuthToken: ${{secrets.NPM_PUBLISH_TOKEN}}
YARN_NPM_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "vx dev",
"website:start": "yarn workspace website start",
"website:build": "yarn workspace website build",
"postinstall": "vx build --fastBuild"
"build:fast": "vx build --fastBuild"
},
"prettier": {
"arrowParens": "avoid",
Expand Down
Loading
Loading