Skip to content

Merge pull request #1 from commercetools/order-syncer-scripts #13

Merge pull request #1 from commercetools/order-syncer-scripts

Merge pull request #1 from commercetools/order-syncer-scripts #13

Workflow file for this run

name: CI
on: [push]
jobs:
build-tax-calculator:
name: Build the application for tax-calculator
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 }}
defaults:
run:
working-directory: tax-calculator
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install modules
run: npm ci
- name: Check the coding style
run: npm run lint && npm run prettier
build-order-syncer:
name: Build the application for order-syncer
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 }}
defaults:
run:
working-directory: order-syncer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install modules
run: npm ci
- name: Check the coding style
run: npm run lint && npm run prettier