This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
chore: WIP update #48
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: UseAragon Docs CI | |
on: | |
push: | |
branches: ["main", "oktonystark8/dao-34-setup-cicd-pipeline"] | |
pull_request: | |
branches: ["main", "oktonystark8/dao-34-setup-cicd-pipeline"] | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./apps/docs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} and pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run lint | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./apps/docs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} and pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run build |