Run test on the live API #775
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: 'Run test on the live API' | |
on: | |
schedule: | |
- cron: '0 12 * * *' # Run at 12:00 every day | |
jobs: | |
test: | |
name: 'Run test on live API' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: 'main' | |
- uses: myparcelnl/actions/yarn-install@v3 | |
with: | |
node-version: 18 | |
- name: 'Run jest' | |
run: ./node_modules/.bin/cross-env yarn test:unit -- tests/unit/delivery-options/testLiveApi.spec.js --coverage=false | |
env: | |
NODE_ICU_DATA: node_modules/full-icu |