fix: sc-42350 per item discount bugfix #51
Workflow file for this run
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
# this workflow runs on all pull requests. | |
name: '✅ Tests' | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout code' | |
uses: actions/checkout@v2 | |
- name: 'Setup node' | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
- name: 'Install dependencies' | |
run: yarn install | |
- name: 'Setup .env file for tests' | |
run: cp src/api-extension/mocks/env/.env.test .env | |
- name: 'Run serverless tests' | |
uses: serverless/[email protected] | |
with: | |
args: invoke test |