Bump the dev-dependencies group with 2 updates #291
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: deploy | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
# Weekly on a Friday at midnight | |
- cron: "0 0 * * 5" | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Read .nvmrc | |
id: nvmrc | |
shell: bash | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} | |
- run: npm ci | |
- run: npm run build | |
env: | |
CI: true | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist |