Skip to content

Merge pull request #826 from equinor/fix/theme-provider-top-bar-settings #356

Merge pull request #826 from equinor/fix/theme-provider-top-bar-settings

Merge pull request #826 from equinor/fix/theme-provider-top-bar-settings #356

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: NPM Publish
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
jobs:
publish:
name: Publish to NPM
uses: ./.github/workflows/npm_publish.yaml
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
release:
needs: [publish]
name: Create release notes
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get npm version
id: package-version
uses: martinbeentjes/[email protected]
- name: Generate release notes
run: gh release create v${{steps.package-version.outputs.current-version}} --generate-notes --target ${{github.sha}}
env:
GH_TOKEN: ${{ github.token }}