Skip to content

Commit

Permalink
added ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vytdev committed Jun 14, 2024
1 parent 39f43ec commit 03fd4cd
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: install dependencies
run: npm install

- name: run tests
run: npm test

2 changes: 1 addition & 1 deletion pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import zipfile
import pathlib

srcdir = "src"
srcdir = "pack"
output_name = "debug-stick.mcpack"

print("Packaging .mcpack add-on...")
Expand Down
2 changes: 1 addition & 1 deletion pack/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.12.0-beta.1.21.0-stable"
"version": "1.12.0-beta"
}
],

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/vytdev/debug-stick#readme",
"dependencies": {
"@minecraft/server": "^1.12.0-beta.1.21.0-stable",
"@minecraft/server": "1.12.0-beta.1.21.0-stable",
"typescript": "^5.4.5"
}
}

0 comments on commit 03fd4cd

Please sign in to comment.