build(deps-dev): bump @commitlint/config-conventional from 19.6.0 to 19.7.1 #2870
Workflow file for this run
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: Node.js CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Install | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build | |
- name: Generate license file | |
if: github.ref == 'refs/heads/main' | |
run: npm run generate-license-file | |
- name: Generate Service Worker | |
if: github.ref == 'refs/heads/main' | |
run: npm run generate-sw | |
- name: Add .nojekyll file | |
if: github.ref == 'refs/heads/main' | |
run: touch dist/.nojekyll | |
- name: Add CNAME file | |
if: github.ref == 'refs/heads/main' | |
run: echo 'paint.js.org' > CNAME | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
clean: true |