Skip to content

Update deps-check.yml #31

Update deps-check.yml

Update deps-check.yml #31

Workflow file for this run

name: CI/CD
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run check
- run: npm run build
- uses: actions/upload-pages-artifact@v1.0.4
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v1