Skip to content

Dockerify the batching demo (#7) #20

Dockerify the batching demo (#7)

Dockerify the batching demo (#7) #20

Workflow file for this run

name: CI
on:
workflow_dispatch: {}
pull_request: {}
push:
branches:
- main
# When a new revision is pushed to a PR, cancel all in-progress CI runs for that
# PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
examples:
name: build examples
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
pkg: [opa-react-demo]
steps:
- name: Check out code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 22
- name: setup and build
# https://github.com/npm/cli/issues/3034#issuecomment-885211061
run: |
npm ci
npm run build
working-directory: ${{ matrix.pkg }}