chore(deps): update cycjimmy/semantic-release-action action to v4.1.1 #1464
This file contains hidden or 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 CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Build application | |
run: | | |
npm ci | |
npm run build | |
env: | |
CI: true | |
- name: Deploy to GitHubPages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
if: github.ref == 'refs/heads/master' | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: dist |