This repository has been archived by the owner on May 25, 2023. It is now read-only.
feat: Archive this repo #608
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@v2 | |
- name: "馃敡 setup node" | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- 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@v2 | |
- name: "馃敡 setup node" | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
- 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 |