feat(fonts): adding Book weight #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |