This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
chore: Public Announcement - Feature Freeze - See README or RELEASES #285
Workflow file for this run
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: Pull Request Build | |
on: | |
pull_request: | |
env: | |
CI: 'true' | |
NODE_VERSION: '20.x' | |
jobs: | |
build: | |
name: π οΈ Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: β€΅οΈ Checkout | |
uses: actions/checkout@v4 | |
# caching | |
- name: π Set up nx cache | |
uses: actions/[email protected] | |
with: | |
path: .nx | |
key: ${{ runner.os }}-nx-cache | |
# setup | |
- name: π Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ env.NODE_VERSION }}' | |
cache: 'npm' | |
- name: π Set up QEMU | |
uses: docker/[email protected] | |
- name: π Set up Docker Buildx | |
uses: docker/[email protected] | |
# build | |
- name: π Install dependencies | |
run: npm ci | |
- name: βοΈ Lint | |
run: | | |
npm run lint | |
npm run prettier | |
- name: π Test | |
run: npm test | |
- name: π οΈ Build | |
run: npm run build |