chore(deps): bump the npm_and_yarn group across 1 directory with 3 updates #1594
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 | |
- develop | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20', '22'] | |
# 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 |