Skip to content

Commit 87161a1

Browse files
fix(ci): dry run it
1 parent b1893f4 commit 87161a1

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/actions/publish-npm/action.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,26 @@ runs:
4242
run: npm version ${{ inputs.version }}
4343
shell: bash
4444
working-directory: ${{ inputs.working-directory }}
45-
- name: Run Build
46-
run: npm run build
47-
shell: bash
48-
working-directory: ${{ inputs.working-directory }}
49-
- name: Prepare NPM Token
50-
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
51-
working-directory: ${{ inputs.working-directory }}
52-
shell: bash
53-
env:
54-
NPM_TOKEN: ${{ inputs.token }}
55-
- name: Publish to NPM
56-
run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --provenance
57-
shell: bash
58-
working-directory: ${{ inputs.working-directory }}
45+
# - name: Run Build
46+
# run: npm run build
47+
# shell: bash
48+
# working-directory: ${{ inputs.working-directory }}
49+
# - name: Prepare NPM Token
50+
# run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
51+
# working-directory: ${{ inputs.working-directory }}
52+
# shell: bash
53+
# env:
54+
# NPM_TOKEN: ${{ inputs.token }}
55+
# - name: Publish to NPM
56+
# run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --provenance
57+
# shell: bash
58+
# working-directory: ${{ inputs.working-directory }}
5959

6060
- name: Create Release
6161
if: ${{ inputs.createRelease == 'true' }}
6262
run: |
6363
git remote set-url origin https://${GH_TOKEN}:x-oauth-basic@github.com/ionic-team/ionicons.git
64+
git remote -v
6465
git push origin main --tags
6566
gh auth login --with-token ${{ inputs.ghToken }}
6667
gh release create ${{ inputs.tag }} --title "v${{ inputs.tag }}" --generate-notes

0 commit comments

Comments
 (0)