Prepare new release #194
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
# GitHub Actions allows you to build, test, and deploy applications in your language of choice | |
name: Node CI | |
on: | |
push: | |
branches: [main, v1-dev] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build on node ${{ matrix.node }} and ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
runs-on: ${{ matrix.os }} | |
steps: | |
# checkout the repo | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
# use node.js matrix | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
# install dependencies and build | |
- name: Install deps and build | |
run: yarn install |