Feat: Add release CI #6
This file contains hidden or 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 CI | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
name: Build CI with Node.js ${{ matrix.node-version }} | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Build Types | |
run: yarn run build:types | |
- name: Validate Formatting | |
run: yarn run prettier:check | |
- name: Validate Types | |
run: NODE_OPTIONS=--max_old_space_size=9216 yarn run validate:types | |
- name: Build Example | |
run: yarn run build:example | |
- name: Validate Example Typescript | |
run: NODE_OPTIONS=--max_old_space_size=9216 yarn run validate:example |