Skip to content

Commit

Permalink
try to fix tag action
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed Jul 28, 2023
1 parent bb615b4 commit bca54c4
Show file tree
Hide file tree
Showing 9 changed files with 479 additions and 801 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/npm-tag.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: tag npm packages
name: tag latest
on:
workflow_dispatch:
inputs:
tag:
description: A tag to add to all npm packages
required: true

jobs:
test:
Expand All @@ -13,5 +9,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Write npm credentials
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc-publish
npm whoami
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Add tags
run: ./ops/npm-tag.sh ${{ inputs.tag }}
run: ./ops/npm-tag.sh
179 changes: 141 additions & 38 deletions common/scripts/install-run-rush.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 15 additions & 5 deletions common/scripts/install-run-rushx.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bca54c4

Please sign in to comment.