Skip to content

feat(button-inverted): address comments 2 #213

feat(button-inverted): address comments 2

feat(button-inverted): address comments 2 #213

name: Deploy Package CD
on:
workflow_dispatch:
push:
branches:
- master
env:
rid: ${{ github.run_id }}-${{ github.run_number }}
jobs:
initialize:
name: Initialize
runs-on: ubuntu-20.04
steps:
- name: Checkout Project
uses: actions/checkout@v2
- name: Setup Environment
uses: actions/setup-node@v2
with:
node-version: 14.x
check-latest: true
- name: Install Dependencies
run: yarn
- name: Cache Dependencies
uses: actions/cache@v2
with:
path: node_modules/
key: node-modules-${{ runner.os }}-${{ env.rid }}
deploy-package:
name: Deploy - Package
needs: initialize
runs-on: ubuntu-20.04
steps:
- name: Checkout Project
uses: actions/checkout@v2
- name: Setup Environment
uses: actions/setup-node@v2
with:
node-version: 14.x
check-latest: true
- name: Uncache Dependencies
uses: actions/cache@v2
with:
path: node_modules/
key: node-modules-${{ runner.os }}-${{ env.rid }}
- name: Deploy Package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.MRV2_NPM_TOKEN }}
run: yarn ci:publish