Skip to content

add publish to axel #85

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

Merged
merged 1 commit into from
Apr 9, 2025
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
13 changes: 12 additions & 1 deletion .github/workflows/push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

env:
GITHUB_TOKEN: ${{ secrets.PS_GITHUB_ACCESSTOKEN }}
GITHUB_AXEL_NPM_TOKEN: ${{ secrets.PS_GITHUB_AXELSPRINGER_PACKAGEPUBLISH }}


jobs:
checks:
Expand Down Expand Up @@ -67,7 +69,16 @@ jobs:
- name: Build yarn
run: yarn build

- name: Publish package
- name: Publish package internal
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PS_GITHUB_ACCESSTOKEN }}

- name: config axel github npm
run: |
npm config set //npm.pkg.github.com/:_authToken=$GITHUB_AXEL_NPM_TOKEN

- name: Publish package to public
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PS_GITHUB_AXELSPRINGER_PACKAGEPUBLISH }}