Skip to content

Commit 1da7ec9

Browse files
Jake ChampionJakeChampion
authored andcommitted
chore: Make sure our changelog.md file conforms with the format for Changelog ingestion for the Developer Portal
1 parent efb42c8 commit 1da7ec9

File tree

4 files changed

+394
-2
lines changed

4 files changed

+394
-2
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ env:
1414
wasm-tools_version: 1.0.28
1515

1616
jobs:
17+
18+
check-changelog:
19+
if: github.ref != 'refs/heads/main'
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
cache: 'yarn'
27+
- run: yarn install --immutable
28+
- run: npm run check-changelog
29+
1730
build:
1831
name: Build
1932
needs: [ensure_cargo_installs]
@@ -150,6 +163,7 @@ jobs:
150163
- uses: actions/setup-node@v3
151164
with:
152165
node-version: 19
166+
cache: 'yarn'
153167

154168
- name: Download Engine
155169
uses: actions/download-artifact@v3
@@ -246,6 +260,7 @@ jobs:
246260
- uses: actions/setup-node@v3
247261
with:
248262
node-version: 19
263+
cache: 'yarn'
249264

250265
- name: Set up Fastly CLI
251266
uses: fastly/compute-actions/setup@v4
@@ -342,6 +357,7 @@ jobs:
342357
- uses: actions/setup-node@v3
343358
with:
344359
node-version: ${{ matrix.node-version }}
360+
cache: 'yarn'
345361
- name: Download Engine
346362
uses: actions/download-artifact@v3
347363
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ docs-app/pkg/*.tar.gz
2222
c-dependencies/js-compute-runtime/fastly-world/fastly_world_component_type.o
2323

2424
*.a
25+
yarn-error.log

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@
3232
"test:cli": "brittle --bail integration-tests/cli/**.test.js",
3333
"test:types": "tsd",
3434
"build": "make -j8 -C c-dependencies/js-compute-runtime && cp c-dependencies/js-compute-runtime/*.wasm c-dependencies/js-compute-runtime/fastly.wit .",
35-
"build:debug": "DEBUG=true make -j8 -C c-dependencies/js-compute-runtime && cp c-dependencies/js-compute-runtime/*.wasm c-dependencies/js-compute-runtime/fastly.wit ."
35+
"build:debug": "DEBUG=true make -j8 -C c-dependencies/js-compute-runtime && cp c-dependencies/js-compute-runtime/*.wasm c-dependencies/js-compute-runtime/fastly.wit .",
36+
"check-changelog": "cae-release-notes-format-checker CHANGELOG.md"
3637
},
3738
"devDependencies": {
3839
"@jakechampion/cli-testing-library": "^1.0.0",
3940
"brittle": "^3.1.1",
41+
"cae-release-notes-format-checker": "^1.0.0",
4042
"eslint": "^8.28.0",
4143
"get-bin-path": "^7.2.1",
4244
"tsd": "^0.25.0",

0 commit comments

Comments
 (0)