Skip to content

1.0.0-alpha-30

1.0.0-alpha-30 #31

Workflow file for this run

on:
release:
types: [ created ]
name: npm release pipeline
jobs:
publish-npm:
name: Publish NPM Job
runs-on: ubuntu-latest
steps:
- name: echo ref
run: |
echo "Ref ${{ github.ref }}"
echo "Ref ${{ github }}"
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: npm setup
uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: npm install
run: |
npm ci --slient
- name: npm build
run: |
npm run build --silent
- name: npm prepare publish
run: |
npm run prepare-publish --silent
- name: npm publish
run: |
npm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}