Skip to content

Bump eslint from 8.51.0 to 9.9.1 in /tax-calculator #402

Bump eslint from 8.51.0 to 9.9.1 in /tax-calculator

Bump eslint from 8.51.0 to 9.9.1 in /tax-calculator #402

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
- name: Execute tests
run: npm run test:ci
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
- name: Execute tests
run: npm run test:ci