v1.10.1 #489
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: make | |
uses: ./.github/actions/build-sqljs | |
- uses: actions/upload-artifact@v2 | |
with: {name: dist, path: dist} | |
- name: test | |
run: npm ci && npm test | |
- name: generate documentation | |
run: npm run doc | |
- name: Update github pages | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
uses: JamesIves/github-pages-deploy-action@3.6.2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: "." # The folder the action should deploy. | |
CLEAN: false # Automatically remove deleted files from the deploy branch |