This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
Put redirect in README as prep for archiving repo (#25) #80
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
main: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-12, ubuntu-20.04, windows-2019] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version-file: .node-version | |
- name: Set Shas | |
uses: nrwl/nx-set-shas@v3 | |
- name: Yarn | |
run: yarn | |
- name: Lint | |
run: yarn nx affected -t lint --parallel=3 | |
- name: Test | |
run: yarn nx affected -t test --parallel=3 --configuration=ci | |
- name: Build | |
run: yarn nx affected -t build --parallel=3 --verbose |