Skip to content

Commit

Permalink
vérification eslint sur un pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
OHNIMUS-Leopold committed Dec 5, 2024
1 parent 472a1c2 commit a0feabe
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test TypeScript

on:
pull_request:
types:
- opened
- synchronize

jobs:
typescript:
runs-on: ubuntu-latest

steps:
# Checkout sur le dépot Github
- name: Checkout code
uses: actions/checkout@v3

# Configurer Node.js pour éxecuter la GitHub Action
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

# Installer les dépendances NPM
- name: Install dependencies
run: npm install

# Lancer le type check TypeScript
- name: TypeScript Type Check
run: npx nuxi typecheck

0 comments on commit a0feabe

Please sign in to comment.