Skip to content

Commit

Permalink
ci(actions): nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
sambacha authored Aug 19, 2021
1 parent 94b15cb commit 35c340a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# CI for command line NodeJS Applications
name: nodejs
on:
push:
paths:
- "**/**"
- "!**/*.md/**"

env:
CI: true
FORCE_COLOR: 2

jobs:
run:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: ['14']
os: ['ubuntu-latest']

steps:
- name: Clone repository
uses: actions/checkout@v2.3.4

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

- name: Install npm dependencies
run: npm install

- name: Run build
run: npm run build

0 comments on commit 35c340a

Please # to comment.