Skip to content

Commit a4eea9e

Browse files
committed
check how the actions behave with npmjs configured
1 parent f5407cf commit a4eea9e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/tests.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
cache: yarn
2323
node-version: '16'
24-
registry-url: https://npm.pkg.github.com
24+
registry-url: https://registry.npmjs.org/
2525
- name: install dependencies
2626
run: yarn install --frozen-lockfile
2727
- name: lint markdown
@@ -30,12 +30,9 @@ jobs:
3030
run: yarn lint
3131
- name: Set development version
3232
run: yarn version --no-git-tag-version --new-version "0.0.0-sha.${{ github.sha }}"
33-
- name: check npmrc
34-
run: |
35-
cat ~/.npmrc || true
36-
cat .npmrc || true
37-
cat $NPM_CONFIG_USERCONFIG || true
38-
- name: Publish development version
39-
run: npm publish --provenance
40-
env:
41-
NODE_AUTH_TOKEN: ${{ github.token }}
33+
- name: Check npmjsconfig
34+
run: cat ${NPM_CONFIG_USERCONFIG}
35+
# - name: Publish development version
36+
# run: npm publish --provenance
37+
# env:
38+
# NODE_AUTH_TOKEN: ${{ github.token }}

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
2+
@scality:registry=https://npm.pkg.github.com/
3+
always-auth=false

0 commit comments

Comments
 (0)