Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
leungkinghin-ct committed Sep 12, 2023
1 parent 455ee1a commit 851370a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,34 @@ jobs:
build-incremental-updater:
name: Build the application for incremental-updater
runs-on: ubuntu-latest
env:
CTP_CLIENT_ID: ${{ secrets.CTP_CLIENT_ID }}
CTP_CLIENT_SECRET: ${{ secrets.CTP_CLIENT_SECRET }}
CTP_PROJECT_KEY: ${{ secrets.CTP_PROJECT_KEY }}
CTP_SCOPE: ${{ secrets.CTP_SCOPE }}
CTP_REGION: ${{ secrets.CTP_REGION }}
CTP_STORE_KEY: ${{ secrets.CTP_STORE_KEY }}
SEARCH_PLATFORM_CONFIG: ${{ secrets.SEARCH_PLATFORM_CONFIG }}
defaults:
run:
working-directory: incremental-updater
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm ci
- run: npm run lint && npm run prettier

- name: Install modules
run: npm ci

- name: Check the coding style
run: npm run lint && npm run prettier

- name: Execute integration test
run: npm run test

build-full-ingestion:
name: Build the application for full-ingestion
Expand Down

0 comments on commit 851370a

Please sign in to comment.