Skip to content

Add public testimony input (#409) #670

Add public testimony input (#409)

Add public testimony input (#409) #670

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 18.17.1
- run: yarn
- run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 18.17.1
- run: yarn
- run: yarn test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 18.17.1
- run: yarn
- run: yarn lint
# Not currently working, always some differences
# needs-docs-update:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js 18.17.1
# uses: actions/setup-node@v1
# with:
# node-version: 18.17.1
# - run: yarn
# - run: yarn build:donateButtonNext
# - name: Get changes
# id: get-changes
# run: |
# if [ -z "$(git status --porcelain=v1 2>/dev/null)" ];
# then echo "::set-output name=changes::false";
# else echo "::set-output name=changes::true";
# fi
# - name: Fail if build resulted in changes
# id: check-changes
# if: steps.get-changes.outputs.changes == 'true'
# run: |
# echo "Uncommitted build artifacts exist, please check them in."
# git status
# exit 1