Revert "Feature/registerlogin" #26
This file contains hidden or 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: CI | |
on: | |
pull_request: | |
branches: | |
- dev | |
- main | |
- release | |
jobs: | |
lint-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Set up the latest Node.js | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22.9.0 # Use the latest LTS version of Node.js | |
cache: 'npm' | |
# Upgrade npm to the latest version | |
- name: Upgrade npm | |
run: npm install -g npm@latest | |
# Install dependencies | |
- name: Install dependencies | |
run: npm install | |
# Run lint | |
- name: Run ESLint | |
run: npm run lint | |
# Run build | |
- name: Build project | |
run: npm run build |