Skip to content

Fix: Another attemp (maybe fixed?) #37

Fix: Another attemp (maybe fixed?)

Fix: Another attemp (maybe fixed?) #37

Workflow file for this run

name: 🚀 CD
on:
push:
branches: [main]
jobs:
CD:
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📗 Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: "lts/iron"
- name: 🔨 Build Project
run: |
npm ci
npm run build
- name: 🧪 Test Project
run: npm run test
- name: 🔎 SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: 🚀 Deploy Project
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: build