This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
refactor : refactoring footer component #1385
Workflow file for this run
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: Development | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
workflow_call: | |
jobs: | |
test: | |
name: Test application | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: "☁️ checkout repository" | |
uses: actions/checkout@v3 | |
- name: "🔧 setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: "🔧 install npm@latest" | |
run: npm i -g npm@latest | |
- name: "📦 install dependencies" | |
uses: bahmutov/npm-install@v1 | |
- name: "🔍 run tests" | |
run: npm run test --if-present | |
lint: | |
name: Code standards | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: "☁️ checkout repository" | |
uses: actions/checkout@v3 | |
- name: "🔧 setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: "🔧 install npm@latest" | |
run: npm i -g npm@latest | |
- name: "📦 install dependencies" | |
uses: bahmutov/npm-install@v1 | |
- name: "🔍 lint code" | |
run: npm run lint --if-present |