Merge pull request #565 from Shopify/discount-function-api-version #485
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: JavaScript | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: yarn | |
- name: Expand liquid | |
run: yarn expand-liquid vanilla-js | |
- name: Install workspace dependencies | |
run: yarn | |
- name: Generate types | |
run: yarn typegen | |
- name: Test | |
run: yarn test-js |