v2.3.16 #59
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 Packages | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
registry-url: https://registry.npmjs.org/ | |
- name: ESM Build | |
working-directory: ./packages/nexus-bridge | |
run: | | |
yarn install | |
yarn build:esm | |
- name: NPM Publish | |
working-directory: ./packages/nexus-bridge | |
run: yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
publish-gpr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
working-directory: ./packages/nexus-bridge | |
registry-url: https://npm.pkg.github.com | |
scope: '@ideaportriga' | |
- name: UMD Build | |
working-directory: ./packages/nexus-bridge | |
run: | | |
yarn install | |
yarn build | |
- name: GPR Publish | |
working-directory: ./packages/nexus-bridge | |
run: | | |
echo registry=https://npm.pkg.github.com/ideaportriga >> .npmrc | |
npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |