Skip to content

Commit 792aec7

Browse files
committed
Merge branch 'main' of https://github.com/serbanghita/glhf
2 parents f29c1d7 + 527d8bc commit 792aec7

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/glhf-ecs.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: GLHF ECS
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
defaults:
13+
run:
14+
working-directory: ./packages/glhf-ecs
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
matrix:
22+
node-version: [20.x]
23+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
24+
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Use Node.js ${{ matrix.node-version }}
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
cache: 'npm'
32+
cache-dependency-path: ./packages/glhf-ecs/package-lock.json
33+
- run: npm ci
34+
- run: npm run build --if-present
35+
- run: npm test

0 commit comments

Comments
 (0)