diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d379ec4..96a7e4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '14' - - name: Install and use custom node version - run: npm i -g npm@7 + node-version-file: .nvmrc - name: Package restore run: npm install - name: Build site diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb15a0d..7c13720 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,12 +7,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '14' - - name: Install and use custom node version - run: npm i -g npm@7 + node-version-file: .nvmrc - name: Package restore run: npm install - name: Build site diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/package-lock.json b/package-lock.json index 9ee6020..1fcba19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,10 +21,6 @@ "gh-pages": "^5.0.0", "remark-gfm": "^3.0.1", "shx": "^0.3.4" - }, - "engines": { - "node": ">=14.0.0", - "npm": ">=7.0.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 3dc6a24..4be7e35 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,6 @@ { "name": "fable-compiler.github.io", "private": true, - "engines": { - "node": ">=14.0.0", - "npm": ">=7.0.0" - }, "type": "module", "scripts": { "clean": "nacara clean",