Skip to content

Commit efd3cbf

Browse files
committed
Attempt to get rid of Module.createRequire error in github actions
1 parent e900782 commit efd3cbf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/deploy-gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- uses: actions/setup-node@v2
2222
with:
23-
node-version: '12'
23+
node-version: '14'
2424
cache: 'npm'
2525
- run: npm install
2626
- run: npm run docs

.github/workflows/release-package.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
with:
14-
node-version: 12
14+
node-version: 14
1515
- run: npm ci
1616
- run: npm test
1717

@@ -31,4 +31,3 @@ jobs:
3131
- run: npm publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
34-

0 commit comments

Comments
 (0)