Skip to content

v1.2.8

v1.2.8 #28

Workflow file for this run

name: Epics-React library CD
on:
release:
types: [created]
jobs:
# github_npm:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: '16.x'
# registry-url: 'https://npm.pkg.github.com/'
# - name: Install πŸ”§
# run: yarn install
# - name: Build πŸ—οΈ
# run: yarn run build
# - name: Login Github πŸ”“
# run: |
# echo lnls-sirius:https://npm.pkg.github.com/ > ./.npmrc
# echo '//npm.pkg.github.com/:_authToken=${NPM_TOKEN}' >> ./.npmrc
# - name: Publish NPM πŸͺ–
# run: npm publish
# env:
# NPM_TOKEN: ${{ secrets.EPICS_REACT }}
npmjs_npm:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org/'
- name: Install πŸ”§
run: yarn install
- name: Build πŸ—οΈ
run: yarn run build
- name: NPM registry
run: npm set registry https://registry.npmjs.org/
- name: Login npmjs πŸ”“
run: |
echo https://registry.npmjs.org/> ./.npmrc
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ./.npmrc
- name: Publish
run: npm publish --verbose --access public
env:
NPM_TOKEN: ${{ secrets.EPICS_REACT_NPMJS }}