npm upgrade #120
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: GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm test | |
- name: git commit | |
run: | | |
git add -f ./dist | |
git config user.email "[email protected]" | |
git config user.name "GitHub Action" | |
git commit -m "Build" | |
git push -f origin HEAD:gh-pages |