Skip to content

Commit

Permalink
fix: remove registry-url from setup-node ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozwiaczek committed Apr 12, 2021
1 parent e7d9614 commit 17afc6b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: 'Use cached node_modules'
id: cache-modules
uses: actions/[email protected]
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/continous_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: 'Use cached node_modules'
id: cache-modules
uses: actions/[email protected]
Expand All @@ -45,8 +44,8 @@ jobs:
${{ runner.os }}-yarn-
- name: 'Install dependency'
run: yarn install --frozen-lockfile

# End of yarn setup

- name: 'Semantic release'
env:
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_PR }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/continous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: 'Use cached node_modules'
id: cache-modules
uses: actions/[email protected]
Expand All @@ -37,8 +36,8 @@ jobs:
${{ runner.os }}-yarn-
- name: 'Install dependency'
run: yarn install --frozen-lockfile

# End of yarn setup

- name: 'Audit dependencies'
run: /bin/sh -c 'yarn audit --level high; [[ $? -ge 8 ]] && exit 1 || exit 0'
- name: 'Types check'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ jobs:
- name: 'Git checkout'
uses: actions/checkout@v2

# Beginning of yarn setup, keep in sync between all workflows, see continous-integration.yml
# Beginning of yarn setup, keep in sync between all workflows
- name: Use node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: 'Use cached node_modules'
id: cache-modules
uses: actions/[email protected]
Expand All @@ -42,7 +41,7 @@ jobs:
${{ runner.os }}-yarn-
- name: 'Install dependency'
run: yarn install --frozen-lockfile
# End of yarn setup
# End of yarn setup

- name: 'Build docs'
run: yarn build
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://intentbase-ui-auth.netlify.app",
"repository": {
"type": "git",
"url": "https://github.com/dotintent/intentbase-ui-auth.git"
"url": "https://github.com/dotintent/intentbase-ui-auth"
},
"license": "MIT",
"author": {
Expand Down Expand Up @@ -99,8 +99,5 @@
"engines": {
"node": ">=12",
"yarn": ">=1.22"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 17afc6b

Please sign in to comment.