Skip to content

chore(deps-dev): bump @types/node from 20.3.2 to 20.7.0 #177

chore(deps-dev): bump @types/node from 20.3.2 to 20.7.0

chore(deps-dev): bump @types/node from 20.3.2 to 20.7.0 #177

name: Test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
name: Test
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- run: npm install
- run: npm test
deploy:
needs: test
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: 20
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
- run: npm ci
- run: npx gulp release
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: dist