@bedard/hexboard 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
id-token: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
uses: ./.github/workflows/build.yml
|
|
14
|
+
|
|
15
|
+
release:
|
|
16
|
+
needs: build
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Setup pnpm
|
|
24
|
+
uses: pnpm/action-setup@v4
|
|
25
|
+
with:
|
|
26
|
+
version: latest
|
|
27
|
+
|
|
28
|
+
- name: Setup Node.js
|
|
29
|
+
uses: actions/setup-node@v4
|
|
30
|
+
with:
|
|
31
|
+
node-version: 22
|
|
32
|
+
cache: pnpm
|
|
33
|
+
registry-url: https://registry.npmjs.org
|
|
34
|
+
|
|
35
|
+
- name: Update NPM
|
|
36
|
+
run: npm install -g npm@latest
|
|
37
|
+
|
|
38
|
+
- name: Install dependencies
|
|
39
|
+
run: pnpm install --frozen-lockfile
|
|
40
|
+
|
|
41
|
+
- name: Build library
|
|
42
|
+
run: pnpm build
|
|
43
|
+
|
|
44
|
+
- name: Publish package
|
|
45
|
+
run: npm publish --access public --provenance
|
package/package.json
CHANGED
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
"main": "dist/index.js",
|
|
39
39
|
"module": "dist/index.js",
|
|
40
40
|
"name": "@bedard/hexboard",
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "https://github.com/scottbedard/hexboard"
|
|
44
|
+
},
|
|
41
45
|
"peerDependencies": {
|
|
42
46
|
"@bedard/hexchess": "^2.5.0",
|
|
43
47
|
"vue": "^3.5.0"
|
|
@@ -54,5 +58,5 @@
|
|
|
54
58
|
"license": "MIT",
|
|
55
59
|
"type": "module",
|
|
56
60
|
"types": "dist/index.d.ts",
|
|
57
|
-
"version": "0.0.
|
|
61
|
+
"version": "0.0.2"
|
|
58
62
|
}
|