Skip to content

Commit

Permalink
change: create build-check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
julio-ufpb committed Nov 15, 2023
1 parent 0a1431c commit e812187
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-chack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 14.x ]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: ${{ matrix.node-version }}

- name: Set NODE_ENV to production
run: echo "NODE_ENV=production" >> $GITHUB_ENV

- name: Install dependencies
run: npm install
run: npm install --include=dev

- name: Build
run: npm run build
Expand Down

0 comments on commit e812187

Please sign in to comment.