Skip to content

Commit 041e98e

Browse files
authored
💥 resolves #1106 publish the Node module as an ES6 module (#1358)
1 parent babf684 commit 041e98e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+7641
-8254
lines changed

.github/workflows/build-upstream.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- name: Set up Node 12.x
10+
- name: Set up Node 14.x
1111
uses: actions/setup-node@v1
1212
with:
13-
node-version: 12.x
13+
node-version: 14.x
1414
# libgbm-dev is required by Puppeteer 3+
1515
- name: Install system dependencies
1616
run: |

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
node-version: [12.x, 14.x]
16+
node-version: [14.x, 16.x]
1717
asciidoctor-core-version: [v2.0.15, main]
1818
experimental: [false]
1919
include:
20-
- node-version: 14.x
20+
- node-version: 16.x
2121
os: macos-latest
2222
experimental: true
2323
asciidoctor-core-version: v2.0.15
@@ -50,8 +50,8 @@ jobs:
5050
strategy:
5151
matrix:
5252
node-version:
53-
- 12.x
5453
- 14.x
54+
- 16.x
5555
asciidoctor-core-version: [v2.0.15, main]
5656
steps:
5757
- uses: actions/checkout@v2
@@ -67,12 +67,12 @@ jobs:
6767
env:
6868
ASCIIDOCTOR_CORE_VERSION: ${{ matrix.asciidoctor-core-version }}
6969
working-directory: ./packages/core
70-
run: node tasks/build.js
70+
run: node tasks/build.cjs
7171
- name: Test Build
7272
env:
7373
ASCIIDOCTOR_CORE_VERSION: ${{ matrix.asciidoctor-core-version }}
7474
working-directory: ./packages/core
75-
run: node tasks/test/unsupported-features.js
75+
run: node tasks/test/unsupported-features.cjs
7676
- name: Test Node
7777
env:
7878
ASCIIDOCTOR_CORE_VERSION: ${{ matrix.asciidoctor-core-version }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: actions/setup-node@v1
1515
with:
16-
node-version: 12
16+
node-version: 14
1717
# libgbm-dev is required by Puppeteer 3+
1818
- name: Install system dependencies
1919
run: |
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v2
3838
- uses: actions/setup-node@v1
3939
with:
40-
node-version: 12
40+
node-version: 14
4141
registry-url: https://registry.npmjs.org/
4242
# libgbm-dev is required by Puppeteer 3+
4343
- name: Install system dependencies

package-lock.json

Lines changed: 105 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)