Feature opensearch (#240) #659
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: Check build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# NOTE: The version we use to build the container image should always be | |
# included here. (See Dockerfile in the root directory of the ciboard-server | |
# repository.) | |
node-version: [18.x] | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install build dependencies | |
run: npm install | |
- name: Compile TypeScript | |
run: npx tsc | |
- name: Lint with ESLint | |
run: npx eslint . | |
- name: Run tests | |
run: npm test |