Skip to content

Commit 9f97e48

Browse files
authored
Merge branch 'main' into game-settings
2 parents 4c2d316 + 1b2f28d commit 9f97e48

28 files changed

Lines changed: 2631 additions & 2495 deletions

.github/workflows/npm-publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish To NPM
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 16
15+
- run: npm ci
16+
- run: npm run lint
17+
18+
publish-npm:
19+
needs: build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: 16
26+
registry-url: https://registry.npmjs.org/
27+
- run: npm ci
28+
- run: npm publish --access public
29+
env:
30+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.prettierrc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"tabWidth": 4,
3-
"useTabs": false,
4-
"semi": true,
5-
"singleQuote": false,
6-
"trailingComma": "es5",
7-
"bracketSpacing": true
2+
"tabWidth": 4,
3+
"useTabs": false,
4+
"semi": true,
5+
"singleQuote": false,
6+
"trailingComma": "es5",
7+
"bracketSpacing": true
88
}

0 commit comments

Comments
 (0)