Skip to content

Commit

Permalink
feat: build check in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rharkor committed Jan 26, 2024
1 parent 81ec644 commit c960c28
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:

jobs:
check:
env:
node_version: 20
name: Check
runs-on: ubuntu-latest
steps:
Expand All @@ -36,3 +34,20 @@ jobs:
run: npm run depcheck
- name: Banned Keywords
run: bash ./packages/scripts/banned-keywords.sh

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Set example env
run: npm run init:env
- name: Build
run: npm run build

0 comments on commit c960c28

Please sign in to comment.