Skip to content

chore: add release cycle #1

chore: add release cycle

chore: add release cycle #1

Workflow file for this run

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
build:
name: Build 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: '🔍 build application'
run: npm run prepare --if-present