Skip to content

Commit 8287f54

Browse files
committed
add workflow
1 parent 3bdb0aa commit 8287f54

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Node CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
env:
8+
CI: true
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [18.x]
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
- run: make install
27+
- run: make lint
28+
- run: make test
29+
- uses: hexlet-components/hello-from-hexlet-action@release

0 commit comments

Comments
 (0)