Skip to content

fix: react-cheetah-grid release script #67

fix: react-cheetah-grid release script

fix: react-cheetah-grid release script #67

Workflow file for this run

name: publish
on:
push:
tags:
- "*"
jobs:
release:
name: check version, and release
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup Node
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install Packages
run: |+
npm ci
npm run ci:all
- name: Build
run: npm run build:ci
- name: test
run: npm run test -- --mrpm-max-workers=1
- name: release
run: |+
npm run echo:v
cp ./README.md ./packages/cheetah-grid/README.md
cp ./LICENSE ./packages/cheetah-grid/LICENSE
cp ./LICENSE ./packages/vue-cheetah-grid/LICENSE
cp ./LICENSE ./packages/cheetah-grid-icon-svg-loader/LICENSE
npm run publish:all
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}