Skip to content

Commit

Permalink
feature(actions): Add Bits Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWendelborn committed Jun 8, 2024
1 parent 8ceaf8d commit 62aa4f5
Show file tree
Hide file tree
Showing 13 changed files with 1,429 additions and 61 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ jobs:
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run test
validate-schemas:
runs-on: ubuntu-latest
steps:
Expand Down
39 changes: 39 additions & 0 deletions .vscode/actions.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"Action for Crafting": {
"prefix": "actr",
"body": [
"{",
"\t\"inputs\": [",
"\t\t{ \"amount\": ${1:1}, \"id\": \"${2:TODO: Insert Item ID}\", \"type\": \"item\" }",
"\t],",
"\t\"outputs\": [",
"\t\t{ \"amount\": ${3:1}, \"id\": \"${4:TODO: Insert Item ID}\", \"type\": \"item\" }",
"\t],",
"\t\"place\": [",
"\t\t{",
"\t\t\t\"grid\": [",
"\t\t\t\t${5:null},",
"\t\t\t\t${6:null},",
"\t\t\t\t${7:null},",
"\t\t\t\t${8:null},",
"\t\t\t\t${9:null},",
"\t\t\t\t${10:null},",
"\t\t\t\t${11:null},",
"\t\t\t\t${12:null},",
"\t\t\t\t${13:null}",
"\t\t\t],",
"\t\t\t\"type\": \"workbench\"",
"\t\t}",
"\t]",
"},",
],
"description": "Add Recipe Action",
},
"Action Input/Output Item": {
"prefix": "acti",
"body": [
"{ \"amount\": ${1:1}, \"id\": \"${2:TODO: Insert Item ID}\", \"type\": \"item\" }",
],
"description": "Add item in action.inputs and action.outputs",
},
}
Binary file modified bun.lockb
Binary file not shown.
60 changes: 0 additions & 60 deletions packages/actions/data/actions.json

This file was deleted.

Loading

0 comments on commit 62aa4f5

Please sign in to comment.