From 4bec94c35b2a9e6e5ea498508ed31ecbbd9fe0e4 Mon Sep 17 00:00:00 2001 From: Sceat Date: Mon, 4 Mar 2024 17:26:29 +0200 Subject: [PATCH] ci: prepare CI for publishing --- .github/workflows/CI.yml | 12 ++++++++++++ .npmignore | 5 +++++ README.md | 18 ++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 .npmignore create mode 100644 README.md diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e7523146..b913e3b3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,7 +6,19 @@ on: - v* jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 21 + - run: npm ci + - run: npm lint + - run: npm build + publish-npm: + needs: build runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') steps: diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..a1b55e50 --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +src +.github +test +index.html +.gitignore \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..936d491f --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +

+ +

+

aresrpg-engine

+

+ fully in javascript + powered by lsd + + Chat + +

+

Voxel engine for AresRPG

+ +![](https://i.imgur.com/ozCF28L.png) + +TODO: documentation + +