Check backwards compatibility for all Banners #46
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: Check backwards compatibility for all Banners | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
bc-check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
# Node version should be in sync with the version in the package.json and build.yml | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
# Install packages, exact versions from package-lock.json | |
- run: npm ci | |
# Run test case that runs unit tests for all banners | |
- run: npm run test:all-banners |