Skip to content

Commit 62ed9b7

Browse files
committed
chore: oyster package manager version bump
1 parent 0628a63 commit 62ed9b7

File tree

5 files changed

+38
-17
lines changed

5 files changed

+38
-17
lines changed

.github/workflows/nightly-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Nightly Build
2+
permissions:
3+
contents: write
24
on:
35
push:
46
branches:

.github/workflows/workflow.yml

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,40 @@
1-
name: CI
2-
on: push
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
9+
permissions:
10+
contents: read
11+
312
jobs:
4-
test:
13+
release:
14+
name: Release
515
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write
18+
issues: write
19+
pull-requests: write
20+
id-token: write
621
steps:
7-
- uses: actions/checkout@v3
8-
- uses: actions/setup-node@v3
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
fetch-depth: 0
26+
persist-credentials: false
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v3
929
with:
1030
node-version: 16
11-
- run: HUSKY=0 npm ci
12-
- run: npm run build
31+
- name: Install dependencies
32+
run: HUSKY=0 npm ci && npm run build
33+
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
34+
run: npm audit signatures
1335
- name: Release
1436
env:
37+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1539
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
run: npm run semantic-release
40+
run: npm run semantic-release

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx --no -- commitlint --edit
4+
npx --no -- commitlint --edit ${1}

.oyster.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dialogue",
77
"dialogue system"
88
],
9-
"oysterVersion": "3.0.0",
9+
"oysterVersion": "3.0.2",
1010
"packageName": "com.fluid.dialogue",
1111
"packageScope": "com.fluid",
1212
"unityVersion": "2019.1",

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@
88
"scripts": {
99
"build": "node build.js",
1010
"semantic-release": "semantic-release",
11-
"commit": "git-cz"
11+
"commit": "git-cz",
12+
"prepare": "husky install"
1213
},
1314
"keywords": [
1415
"unity",
1516
"dialogue",
1617
"dialogue system"
1718
],
18-
"husky": {
19-
"hooks": {
20-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
21-
}
22-
},
2319
"repository": {
2420
"type": "git",
2521
"url": "git+https://github.com/ashblue/fluid-dialogue.git"

0 commit comments

Comments
 (0)