fix(repo): convert entire workspace to use ES modules #56
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: Build | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: 🛎️ Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # All history for branches and tags | |
- name: 📦 Install pnpm | |
uses: pnpm/action-setup@v4 | |
# with: | |
# run_install: false | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: 🧹 Lint Projects | |
run: pnpm i; pnpm nx run-many -t lint -p docs docs-e2e website website-e2e portal portal-e2e --verbose | |
- name: 🏗️ Build Projects | |
run: pnpm nx run-many -t build -p docs website portal --verbose | |
- name: 💰 Profit | |
run: echo 🐞 |