Skip to content

Commit

Permalink
Merge pull request #8 from ludovicm67/configure-github-actions
Browse files Browse the repository at this point in the history
Configure GitHub Actions to run builds
  • Loading branch information
ludovicm67 authored Jan 15, 2024
2 parents 95726f0 + f30c30e commit 73d9681
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ quote_type = single
max_line_length = off
trim_trailing_whitespace = false

[*.json]
[*.{json,yml,yaml}]
indent_size = 2
39 changes: 39 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Run Tests

on:
push:
branches:
- "**"
tags:
- "**"

jobs:
tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version:
- 18
- 20

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.JS ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Build core
run: npm run build:core

- name: Build lobby
run: npm run build:lobby

# - name: Run tests
# run: npm run test

0 comments on commit 73d9681

Please sign in to comment.