Skip to content

Feature

Feature #2

name: CI for Feature to Staging
on:
pull_request:
branches:
- staging
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run lint
run: npm run lint
- name: Run build
run: npm run build
- name: Run start
run: npm start start