Skip to content

feat: move to pnpm #219

feat: move to pnpm

feat: move to pnpm #219

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [main, qa]
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install βš™οΈ
run: npm ci
- name: Build πŸ› 
run: npm run build-full
env:
NODE_OPTIONS: "--max-old-space-size=8192"
build-and-delpoy-to-qa:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/qa'
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install βš™οΈ
run: npm ci
- name: Build πŸ› 
run: npm run build-full
env:
QA: true
NODE_OPTIONS: "--max-old-space-size=8192"
- name: Deploy to QA πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
target-folder: next
build-and-deploy:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Docusaurus βš™οΈ
run: npm ci
- name: Build πŸ› 
run: npm run build-full
env:
NODE_OPTIONS: "--max-old-space-size=8192"
- name: Deploy to production πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
clean-exclude: next