Skip to content

chore: cleanup

chore: cleanup #2

Workflow file for this run

name: Pull request checks
on:
push:
branches:
- main
jobs:
verify_build:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: πŸ“₯ Install dependencies
run: npm ci
- name: πŸ”¨ Build projects
run: npm run build
- name: πŸ§ͺ Run unit tests
run: npm run test
- name: πŸ“„ Setup Pages
uses: actions/configure-pages@v3
- name: πŸ“š Create docs
run: npm run docs
- name: πŸ†™ Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './docs'
- name: πŸ“„ Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2