This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
Bump @types/react-dom from 18.2.8 to 18.2.17 #79
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: Test | |
# This will run when a tag is pushed | |
on: | |
pull_request: | |
paths: | |
- '**/*.ts' | |
- '**/*.tsx' | |
- '.github/workflows/test.yaml' | |
- 'package.json' | |
- 'package-lock.json' | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Test Node.js-${{ matrix.node-version }} | |
run: npm test | |
env: | |
VITE_HT_ENV: 'TEST' | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
- name: 'Install Dependencies' | |
run: npm ci | |
- name: 'build' | |
run: npm run build |