Skip to content

Bump to v1.4.0

Bump to v1.4.0 #420

Workflow file for this run

name: build
on: [push]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Deploy Info
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Install
run: yarn install
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Install Prod
run: yarn install --prod
- name: Install Demo
run: yarn --cwd demo install
- name: Build Demo
run: yarn --cwd demo build
- name: Test Demo
run: yarn --cwd demo test
- name: Publish
if: startsWith(github.ref, 'refs/tags/')
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish Demo
if: startsWith(github.ref, 'refs/tags/')
uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
branch: gh-pages
folder: demo/build/react-sheet-slide
commit-message: Updates