Skip to content

Commit f9f8f78

Browse files
authored
Merge pull request #62 from Next2D/develop
3月のパッケージアップデート
2 parents 6787acf + fcdae28 commit f9f8f78

4 files changed

Lines changed: 315 additions & 270 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,38 @@ name: Lint
33
on:
44
push:
55
branches:
6-
- main
76
- develop
87
pull_request:
98
branches:
109
- main
1110
- develop
11+
workflow_call:
1212

1313
jobs:
1414
macos-browser-test:
1515
runs-on: macos-latest
1616
permissions:
1717
contents: read
18-
pull-requests: write
1918
steps:
2019
- uses: actions/checkout@v6
2120
- uses: actions/setup-node@v6
2221
with:
2322
node-version: 24
2423
registry-url: "https://registry.npmjs.org"
2524
- run: npm install -g npm@latest
26-
- run: npm install
25+
- run: npm ci
2726
- run: npm run lint
2827

2928
windows-browser-test:
3029
runs-on: windows-latest
3130
permissions:
3231
contents: read
33-
pull-requests: write
3432
steps:
3533
- uses: actions/checkout@v6
3634
- uses: actions/setup-node@v6
3735
with:
3836
node-version: 24
3937
registry-url: "https://registry.npmjs.org"
4038
- run: npm install -g npm@latest
41-
- run: npm install
39+
- run: npm ci
4240
- run: npm run lint

.github/workflows/publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,23 @@ permissions:
1010
contents: read
1111

1212
jobs:
13+
lint:
14+
uses: ./.github/workflows/lint.yml
15+
1316
publish:
17+
needs: [lint]
1418
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
21+
pull-requests: write
22+
id-token: write
1523
steps:
1624
- uses: actions/checkout@v6
1725
- uses: actions/setup-node@v6
1826
with:
1927
node-version: 24
2028
registry-url: "https://registry.npmjs.org"
2129
- run: npm install -g npm@latest
22-
- run: npm install
30+
- run: npm ci
2331
- run: npm run release
2432
- run: npm publish

0 commit comments

Comments
 (0)