Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

chore: update ci node-version #764

chore: update ci node-version

chore: update ci node-version #764

Workflow file for this run

name: CI
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 }}