feat: Create Partner News “supported-by-beijing-two-zone-office-and-singapore’s-infocomm-media-development-authority-cofco-and-yit-hong-expand-end-to-end-interoperable-trade-digitalization-network-by-completing-new-pilot” imdatradetrust [skip test] #479
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install Packages | |
run: npm ci | |
- name: Check Lint | |
run: npm run lint | |
- name: Test | |
if: ${{ !contains(github.event.pull_request.title, '[skip test]') }} | |
run: npm run test | |
- name: Build | |
run: npm run build:prod # this MUST be run to ensure production site will be built without errors |