Skip to content

Commit

Permalink
refactor: clean up all of the workflow files
Browse files Browse the repository at this point in the history
Close: #538
  • Loading branch information
aalemayhu committed Apr 9, 2022
1 parent 3497ade commit fcbf46c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-server.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Smoke Test - Build Server
name: Build Server

on: [push]

Expand All @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
- name: npm install, build
run: |
cd server
npm install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and build
- name: npm install and build
run: |
npm --prefix web install
npm --prefix web run build
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/lint-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint server

on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.14.0]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm run lint
run: |
npm --prefix web install
npm --prefix web run lint
env:
CI: true
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fcbf46c

Please sign in to comment.