Skip to content

chore: render on first time #17

chore: render on first time

chore: render on first time #17

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '16'
- name: Run ci
run: |
npm install
npm run ci
- name: Upload Snapshot
if: ${{ failure() }}
env:
REF_NAME: ${{ github.ref_name }}
GITHUB_WORKSPACE: ${{ github.workspace }}
OSS_REGION: ${{ secrets.OSS_REGION }}
OSS_ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }}
OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
OSS_BUCKET: ${{ secrets.OSS_BUCKET }}
run: |
npm run upload
- name: coverall
if: ${{ success() }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}