Skip to content

Commit

Permalink
chore(global): add CI/CD actions (#1)
Browse files Browse the repository at this point in the history
* chore: add CI/CD actions

* Update node.js.yml

* remove tests run, while they aren't ready
  • Loading branch information
sapachev authored Jan 25, 2023
1 parent 1b94416 commit cec40fc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v3
- name: Prepare Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run Linter Check
run: npm run lint

0 comments on commit cec40fc

Please sign in to comment.