Bump cookie and express in /shared #3694
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: Node Lint CI | |
on: [push] | |
jobs: | |
shared: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, lint, and test for shared | |
run: | | |
cd $GITHUB_WORKSPACE/shared | |
npm install | |
npm run lint | |
npm test | |
npm audit --only=prod | |
env: | |
CI: true | |
ingestion-batch: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install and lint for processUpload | |
run: | | |
cd $GITHUB_WORKSPACE/shared | |
npm install | |
cd $GITHUB_WORKSPACE/ingestion/batch | |
npm install | |
npm run lint | |
npm test | |
npm audit --only=prod | |
env: | |
CI: true | |
ingestion-streaming: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install and lint for processUpload | |
run: | | |
cd $GITHUB_WORKSPACE/ingestion/streaming | |
npm install | |
npm run lint | |
npm audit --only=prod | |
env: | |
CI: true | |
api: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, lint, and test for shared | |
run: | | |
cd $GITHUB_WORKSPACE/api/v1 | |
npm install | |
npm run lint | |
npm audit --only=prod | |
env: | |
CI: true | |
ui: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, lint, and test for shared | |
run: | | |
cd $GITHUB_WORKSPACE/frontend | |
npm install | |
npm run lint | |
npm audit --only=prod | |
env: | |
CI: true |