diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b86a75..ac9d9c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: 22 + node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' package-manager-cache: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f724094..0241b97 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,17 +10,15 @@ on: jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [22] steps: - - uses: actions/checkout@v2.1.1 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - name: Set up Node ${{ matrix.node-version }} - uses: actions/setup-node@v4 + - name: Set up Node + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: - node-version: ${{ matrix.node-version }} + node-version-file: '.nvmrc' + package-manager-cache: false - name: Enable pinned Yarn run: | @@ -53,7 +51,7 @@ jobs: npm run cover - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8 with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ${{ github.workspace }}/coverage/lcov.info + file: coverage/lcov.info diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..32a2d7b --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.22.1 diff --git a/modules/docusaurus-website/package.json b/modules/docusaurus-website/package.json index eac2dca..e476022 100644 --- a/modules/docusaurus-website/package.json +++ b/modules/docusaurus-website/package.json @@ -65,6 +65,6 @@ "react-dom": "*" }, "engines": { - "node": ">= 18" + "node": ">= 20" } }