Update Build-Rollout.yml

This commit is contained in:
Julian Lechner
2025-07-07 17:59:56 +02:00
committed by GitHub
parent 5041522cf2
commit 925b00e25d
+15 -7
View File
@@ -6,23 +6,31 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: use NodeJS v22.16.0 - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '22.16.0' node-version: '22.16.0'
registry-url: 'https://registry.npmjs.org'
always-auth: true
- name: install Dependencies - name: Create .npmrc
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: npm install run: npm install
- name: run Build - name: Run Build
run: npm run rolloutBuild run: npm run rolloutBuild
- name: Publish Library # Optional: Prüfe, ob du wirklich veröffentlichen möchtest
- name: Publish Package
run: npm publish run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}