0.7.6 #64
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] | |
env: | |
IN_CI: "1" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Npm setup | |
run: node --version && npm ci && du -sh node_modules | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build | |
- name: Deploy gh-pages | |
run: git config --global user.email "[email protected]>" && git config --global user.name "github-actions-bot" && ./scripts/deploy-gh-pages.sh | |
if: ${{ github.ref == 'refs/heads/master' }} |