Merge pull request #883 from rodekruis/instance--private-faq #1126
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
# More information on Static Web App workflow configurations, | |
# See: https://aka.ms/swaworkflowconfig | |
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: 'Tests' | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['18', '20'] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install | |
env: | |
HUSKY: 0 | |
run: npm ci --no-fund --no-audit | |
- name: Run Tests | |
run: npm test |