Skip to content

ALL-5088 - Add Casper #354

ALL-5088 - Add Casper

ALL-5088 - Add Casper #354

Workflow file for this run

name: CI
on:
push:
branches:
- v1
jobs:
build:
name: πŸ—οΈ Install and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: yarn install
- run: yarn build
- run: yarn lint
docs:
name: πŸ“„ Generate and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: yarn install
- run: yarn build
- run: yarn lint
- run: yarn docs --gaID ${{ secrets.GA_ID }}
- name: Deploy πŸš€
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
publish:
name: πŸ“¦ Publish package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build
- run: yarn lint
- run: yarn publish --access public --tag 1.x.x
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}