Skip to content

Merge pull request #96 from shoonia/dependabot/npm_and_yarn/cronstrue… #81

Merge pull request #96 from shoonia/dependabot/npm_and_yarn/cronstrue…

Merge pull request #96 from shoonia/dependabot/npm_and_yarn/cronstrue… #81

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./dist