Skip to content

test: fix snapshot #431

test: fix snapshot

test: fix snapshot #431

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@v4
- name: Setup Environment
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- 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@v4
- name: Setup Environment
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- 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