Skip to content

feat(fonts): adding Book weight #89

feat(fonts): adding Book weight

feat(fonts): adding Book weight #89

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: branch
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Run semantic release and publish new version to npm
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release
- name: Deploy documentation to GitHub Pages
if: github.ref == 'ref/head/master'
uses: JamesIves/[email protected]
with:
ACCESS_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: . # The folder the action should deploy.
#TARGET_FOLDER: ${{ steps.branch.outputs.branch }} # The folder the action should deploy to.