chore: Split type to not be inline (#70) #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish core package | |
on: | |
push: | |
tags: | |
- 'core-v*' | |
jobs: | |
# Publish to GitHub package registry | |
publish-github: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Configure Doist package repository | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@doist' | |
- name: Install dependencies | |
run: npm run bootstrap-ci:common | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GH_PACKAGES_TOKEN}} | |
- name: Publish package | |
working-directory: ./packages/ui-extensions-core | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GH_PACKAGES_TOKEN}} | |
# Publish to npm package registry | |
publish-npm: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Configure Doist package repository | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: https://registry.npmjs.org/ | |
scope: '@doist' | |
- name: Install dependencies | |
run: npm run bootstrap-ci:common | |
- name: Publish package | |
working-directory: ./packages/ui-extensions-core | |
run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} |