@adobe/helix-markdown-support 7.1.2 → 7.1.3

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: Build
2
+ on: [push]
3
+
4
+ env:
5
+ CI_BUILD_NUM: ${{ github.run_id }}
6
+ CI_BRANCH: ${{ github.ref_name }}
7
+
8
+ jobs:
9
+ test:
10
+ name: Test
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Use Node.js 20.x
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: '20.x'
18
+ - run: npm ci
19
+ - run: npm run lint
20
+ - run: npm test
21
+ - uses: codecov/codecov-action@v4
22
+ with:
23
+ token: ${{ secrets.CODECOV_TOKEN }}
24
+ - name: Semantic Release (Dry Run)
25
+ run: npm run semantic-release-dry
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
29
+
30
+ release:
31
+ name: Release
32
+ runs-on: ubuntu-latest
33
+ needs: test
34
+ if: github.ref == 'refs/heads/main'
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - name: Use Node.js 20.x
38
+ uses: actions/setup-node@v4
39
+ with:
40
+ node-version: '20.x'
41
+ - run: npm ci
42
+ - run: npm run semantic-release
43
+ env:
44
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
+ NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
@@ -1,8 +1,13 @@
1
+ name: Semantic Release Version Check
1
2
  on:
2
3
  push:
3
4
  branches-ignore:
4
5
  - 'main'
5
6
 
7
+ permissions:
8
+ issues: write
9
+ pull-requests: write
10
+
6
11
  jobs:
7
12
  ci_trigger:
8
13
  runs-on: ubuntu-latest
@@ -10,6 +15,6 @@ jobs:
10
15
  steps:
11
16
  - name: Comment
12
17
  id: comment
13
- uses: adobe-rnd/github-semantic-release-comment-action@master
18
+ uses: adobe-rnd/github-semantic-release-comment-action@main
14
19
  with:
15
- repo-token: ${{ secrets.GITHUB_TOKEN }}
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [7.1.3](https://github.com/adobe/helix-markdown-support/compare/v7.1.2...v7.1.3) (2024-06-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency mdast-util-to-hast to v13.2.0 ([f444099](https://github.com/adobe/helix-markdown-support/commit/f4440992374fbf4be9f56053924237a56087e2fa))
7
+
1
8
  ## [7.1.2](https://github.com/adobe/helix-markdown-support/compare/v7.1.1...v7.1.2) (2024-04-06)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@adobe/helix-markdown-support",
3
- "version": "7.1.2",
3
+ "version": "7.1.3",
4
4
  "description": "Helix Markdown Support",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "test": "c8 mocha",
8
8
  "lint": "eslint .",
9
+ "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH",
9
10
  "semantic-release": "semantic-release",
10
11
  "prepare": "husky install"
11
12
  },
@@ -32,7 +33,7 @@
32
33
  "mdast-util-gfm-table": "2.0.0",
33
34
  "mdast-util-gfm-task-list-item": "2.0.0",
34
35
  "mdast-util-phrasing": "4.1.0",
35
- "mdast-util-to-hast": "13.1.0",
36
+ "mdast-util-to-hast": "13.2.0",
36
37
  "micromark-extension-gfm-footnote": "2.0.0",
37
38
  "micromark-extension-gfm-strikethrough": "2.0.0",
38
39
  "micromark-extension-gfm-table": "2.0.0",
@@ -66,7 +67,7 @@
66
67
  "eslint": "8.57.0",
67
68
  "husky": "9.0.11",
68
69
  "junit-report-builder": "3.2.1",
69
- "lint-staged": "15.2.2",
70
+ "lint-staged": "15.2.5",
70
71
  "mdast-builder": "1.1.1",
71
72
  "mocha": "10.4.0",
72
73
  "mocha-multi-reporters": "1.5.1",
@@ -76,7 +77,7 @@
76
77
  "remark-parse": "11.0.0",
77
78
  "remark-rehype": "11.1.0",
78
79
  "remark-stringify": "11.0.0",
79
- "semantic-release": "22.0.12",
80
+ "semantic-release": "24.0.0",
80
81
  "unified": "11.0.4",
81
82
  "unist-util-inspect": "8.0.0"
82
83
  },
@@ -1,44 +0,0 @@
1
- version: 2.1
2
- executors:
3
- node18:
4
- docker:
5
- - image: cimg/node:18.20
6
-
7
- orbs:
8
- codecov: codecov/codecov@4.0.1
9
-
10
- commands:
11
- setup:
12
- steps:
13
- - checkout
14
- - run:
15
- name: Installing Dependencies
16
- command: npm ci
17
- - run:
18
- name: prepare test git user
19
- command: git config --global user.email "circleci@example.com" && git config --global user.name "CircleCi Build"
20
-
21
- jobs:
22
- build:
23
- executor: node18
24
-
25
- steps:
26
- - setup
27
- - run: mkdir junit
28
- - run:
29
- name: Lint
30
- command: npm run lint
31
- - run:
32
- name: Getting Code Coverage
33
- command: npm run test
34
- - codecov/upload
35
- - store_test_results:
36
- path: junit
37
- - store_artifacts:
38
- path: junit
39
-
40
- workflows:
41
- version: 2
42
- build:
43
- jobs:
44
- - build
@@ -1,2 +0,0 @@
1
- columns:
2
- - 2998585
@@ -1,22 +0,0 @@
1
- name: Semantic Release
2
- on:
3
- push:
4
- branches:
5
- - 'main'
6
-
7
- jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
- if: "!contains(github.event.head_commit.message, '[skip ci]')"
11
- steps:
12
- - uses: actions/checkout@v4
13
- - name: Use Node.js 18.x
14
- uses: actions/setup-node@v4
15
- with:
16
- node-version: '18.x'
17
- - run: npm install
18
- - run: npm test
19
- - run: npm run semantic-release
20
- env:
21
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
- NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}