Skip to content

Commit d530578

Browse files
committed
ci(oyster package generator): upgraded to latest version to fix CI issues
1 parent 8ce9472 commit d530578

File tree

9 files changed

+7147
-11255
lines changed

9 files changed

+7147
-11255
lines changed

.github/workflows/commitlint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
commitlint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
99
with:
1010
fetch-depth: 0
11-
- uses: wagoid/commitlint-github-action@v3
11+
- uses: wagoid/commitlint-github-action@v5

.github/workflows/nightly-build.yml

+6-4
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:
@@ -7,11 +9,11 @@ jobs:
79
deployNightly:
810
runs-on: ubuntu-latest
911
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-node@v2
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
1214
with:
13-
node-version: '14'
14-
- run: npm install
15+
node-version: 16
16+
- run: HUSKY=0 npm ci
1517
- run: npm run build
1618
- name: Deploy nightly branch
1719
run: sh ./publish-nightly.sh

.github/workflows/workflow.yml

+29-13
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,40 @@
1-
name: CI
1+
name: Release
2+
23
on:
34
push:
45
branches:
6+
- main
57
- master
6-
pull_request:
7-
branches:
8-
- develop
9-
- master
8+
9+
permissions:
10+
contents: read
11+
1012
jobs:
11-
test:
13+
release:
14+
name: Release
1215
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write
18+
issues: write
19+
pull-requests: write
20+
id-token: write
1321
steps:
14-
- uses: actions/checkout@v3
15-
- 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
1629
with:
17-
node-version: '14'
18-
- run: npm install
19-
- run: npm run build
30+
node-version: 16
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
2035
- name: Release
2136
env:
37+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2239
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
run: npm run semantic-release
40+
run: npm run semantic-release

.gitignore

+41-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1-
[Ll]ibrary/
2-
[Tt]emp/
3-
[Oo]bj/
4-
[Bb]uild/
5-
[Bb]uilds/
6-
Assets/AssetStoreTools*
1+
/[Ll]ibrary/
2+
/[Tt]emp/
3+
/[Oo]bj/
4+
/[Bb]uild/
5+
/[Bb]uilds/
6+
/[Ll]ogs/
7+
/[Uu]ser[Ss]ettings/
8+
CodeCoverage/
9+
UIElementsSchema/
10+
11+
# MemoryCaptures can get excessive in size.
12+
# They also could contain extremely sensitive data
13+
/[Mm]emoryCaptures/
14+
15+
# Recordings can get excessive in size
16+
/[Rr]ecordings/
17+
18+
/[Aa]ssets/AssetStoreTools*
19+
20+
# Autogenerated Jetbrains Rider plugin
21+
/[Aa]ssets/Plugins/Editor/JetBrains*
722

823
# Visual Studio cache directory
9-
/.vs/
24+
.vs/
25+
26+
# Gradle cache directory
27+
.gradle/
1028

1129
# Autogenerated VS/MD/Consulo solution and project files
1230
ExportedObj/
@@ -22,23 +40,35 @@ ExportedObj/
2240
*.booproj
2341
*.svd
2442
*.pdb
43+
*.mdb
44+
*.opendb
45+
*.VC.db
2546

2647
# Unity3D generated meta files
2748
*.pidb.meta
2849
*.pdb.meta
50+
*.mdb.meta
2951

3052
# Unity3D Generated File On Crash Reports
3153
sysinfo.txt
3254

3355
# Builds
3456
*.apk
57+
*.aab
3558
*.unitypackage
36-
/Logs/Packages-Update.log
37-
Logs/
38-
CodeCoverage/
59+
*.app
60+
61+
# Crashlytics generated file
62+
crashlytics-build.properties
63+
64+
# Packed Addressables
65+
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
66+
67+
# Temporary auto-generated Android Assets
68+
/[Aa]ssets/[Ss]treamingAssets/aa.meta
69+
/[Aa]ssets/[Ss]treamingAssets/aa/*
3970

4071
# Node.js
4172
node_modules
4273
dist
4374
dist.zip
44-
UserSettings/

.husky/commit-msg

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

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

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.16.0
1+
16.17.0

.oyster.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"behavior tree",
77
"builder pattern"
88
],
9-
"oysterVersion": "2.1.0",
9+
"oysterVersion": "3.0.2",
1010
"packageName": "com.fluid.behavior-tree",
1111
"packageScope": "com.fluid",
1212
"unityVersion": "2018.1",

0 commit comments

Comments
 (0)