Skip to content

[NVSHAS-8797] Add variable to the GITHUB_OUTPUT for future reference #50

[NVSHAS-8797] Add variable to the GITHUB_OUTPUT for future reference

[NVSHAS-8797] Add variable to the GITHUB_OUTPUT for future reference #50

Workflow file for this run

name: "build"
on: [push, pull_request]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Setup BATS
uses: mig4/setup-bats@v1
with:
bats-version: 1.7.0
- name: Check out code
uses: actions/checkout@v3
- name: Lint Dockerfile
uses: hadolint/[email protected]
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- name: Check if README is up-to-date
run: |
npm run docs
git status
git diff --quiet || echo 'README is not up-to-date, run `npm install && npm run docs` to update.'
git diff --quiet || exit 1
- name: Run tests
run: bats test