Skip to content

Update default.yml

Update default.yml #3

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '20.14.0'
- name: Install deps & build
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: actions/[email protected]
with:
artifact_name: docs