Skip to content

Commit

Permalink
Merge pull request #1 from yschindel/ifc-consumer
Browse files Browse the repository at this point in the history
Test merge to GH actions
  • Loading branch information
yschindel authored Oct 22, 2024
2 parents 1558abb + 593bdf5 commit 421ba1f
Show file tree
Hide file tree
Showing 12 changed files with 4,951 additions and 99 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: VIZ IFC Consumer Tests

on:
push:
branches: [main]
paths:
- "viz_ifc-consumer/**"
pull_request:
branches: [main]
paths:
- "viz_ifc-consumer/**"

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./viz_ifc-consumer

steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18"

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
3 changes: 3 additions & 0 deletions viz_ifc-consumer/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
npm-debug.log
dist
2 changes: 1 addition & 1 deletion viz_ifc-consumer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18
FROM node:18-alpine

WORKDIR /app

Expand Down
5 changes: 5 additions & 0 deletions viz_ifc-consumer/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
};
Loading

0 comments on commit 421ba1f

Please sign in to comment.