fix: STRF-11856 - Filter list of channels from getStoreChannels() to storefront channels #833
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 will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Tests | |
on: | |
pull_request: | |
branches: [master, main, release-**] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node: [16.x, 18.x] | |
os: ['ubuntu-latest', 'windows-2019', 'macos-latest'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Dependencies | |
run: npm ci | |
- name: Verify Github PR Title | |
run: echo "${{ github.event.pull_request.title }}" | npx commitlint | |
- name: Verify Git Commit Name | |
run: git log -1 --pretty=format:"%s" | npx commitlint | |
- name: Lint the code | |
run: npm run lint | |
- name: Run tests | |
run: npm run test-with-coverage |