From cc7946009b60bd03e824c82d546f3febdf4b18b2 Mon Sep 17 00:00:00 2001 From: AGPWR <92328325+AGPWR@users.noreply.github.com> Date: Mon, 6 May 2024 16:41:53 +0200 Subject: [PATCH] Update front.yml --- .github/workflows/front.yml | 39 +++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/front.yml b/.github/workflows/front.yml index 794a776..bdb344e 100644 --- a/.github/workflows/front.yml +++ b/.github/workflows/front.yml @@ -1,3 +1,4 @@ +--- name: front on: @@ -7,26 +8,26 @@ on: jobs: super-lint: - name: Lint code base - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 + name: Lint code base + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 - - name: Run Super-Linter - uses: github/super-linter@v4 - env: - DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Run Super-Linter + uses: github/super-linter@v4 + env: + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'npm' - - run: npm ci - - run: npm start & - - run: npm test + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - run: npm ci + - run: npm start & + - run: npm test