Skip to content

Commit

Permalink
chore: change to require Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 28, 2023
1 parent 68e9bc6 commit 4094b2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build & Deploy
name: CI-CD
on:
push:
branches:
Expand All @@ -7,11 +7,14 @@ on:
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

- run: npm install
Expand Down Expand Up @@ -77,7 +80,7 @@ jobs:
${{ steps.changelog.outputs.changelog }}
- run: npm publish --access public
- run: npm publish --access public --provenance
name: 📦 rehype-video publish to NPM
continue-on-error: true
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
]
},
"engines": {
"node": "^14.13.1 || >=16.0.0"
"node": ">=16"
},
"dependencies": {
"unified": "~10.1.1",
Expand Down

0 comments on commit 4094b2d

Please # to comment.