Skip to content

refactor: Configure npm for GitHub Packages without NPM_TOKEN #18

refactor: Configure npm for GitHub Packages without NPM_TOKEN

refactor: Configure npm for GitHub Packages without NPM_TOKEN #18

Workflow file for this run

name: Release and Publish
on:
push:
branches: [main]
jobs:
lint-test-build:
name: Validate
uses: ./.github/workflows/on-call-lint-test-build.yml
secrets: inherit
with:
shouldUploadArtifact: true
release:
name: Publish to GitHub Packages 🚀
runs-on: ubuntu-latest
needs: lint-test-build
permissions:
id-token: write
contents: write
packages: write
steps:
- name: Semantic Release
uses: cloudbeds/webpack-module-federation-types-plugin/.github/actions/semantic-release@main
with:
publishToNpm: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}