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

fix(FEC-13641): Add 'patch' tag to npm versions #756

Merged
merged 7 commits into from
Jan 11, 2024
Merged
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
11 changes: 9 additions & 2 deletions .github/workflows/create_patch_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ jobs:
with:
node-version: "20.x"

- name: Update NPM Tag
- name: Install Dependencies
run: yarn install

- name: Build Project
run: yarn build

- name: Publish to NPM
run: |
npm set registry "https://registry.npmjs.org"
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc
npm dist-tag add @playkit-js/[email protected] patch
npm version patch
npm publish --tag patch
rm -rf .npmrc
env:
NPM_AUTH_TOKEN: ${{ secrets.PLAYER_NPM_TOKEN }}
Expand Down