Remove API getters in favor of direct property access #229
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: SA360 Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-sa360: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set bash to strict mode | |
run: set -euox pipefail | |
- name: Set Node.js 22.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.x | |
- name: Install parent dependencies | |
run: npx yarn --cwd ts | |
- name: Install sa360 dependencies | |
run: npx yarn --cwd ./ts/sa360 | |
- name: Build sa360 prod | |
run: npx yarn --cwd ./ts/sa360 build:prod | |
- name: Build sa360 dev | |
run: npx yarn --cwd ./ts/sa360 build:dev | |
- name: Ensure clasp is installed (for yarn push) | |
run: npx yarn check-deps | |
- name: Print errors | |
run: find . -name "*.warn" -type f -exec cat {} \; | |
- name: output | |
run: echo $LAST_CMD | |
- name: Fail on errors | |
if: ${{ steps.build-sa360.outputs.error || steps.build-dev-sa360.outputs.error }} | |
run: exit 1 |