diff --git a/.github/workflows/npmpublish-beta.yml b/.github/workflows/npmpublish-beta.yml index 0da6bb8..e7688f7 100644 --- a/.github/workflows/npmpublish-beta.yml +++ b/.github/workflows/npmpublish-beta.yml @@ -17,7 +17,8 @@ jobs: - uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.6.0 with: - node-version: 16 + node-version: 22 + - run: npm config set legacy-peer-deps true=true - run: npm ci - run: npm test @@ -28,10 +29,11 @@ jobs: - uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.6.0 with: - node-version: 16 + node-version: 22 registry-url: https://registry.npmjs.org/ - name: Set up NPM authentication run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc + - run: npm config set legacy-peer-deps true=true - run: npm ci - run: npm publish --tag ${GITHUB_REF##*/} env: diff --git a/.github/workflows/npmpublish-lts.yml b/.github/workflows/npmpublish-lts.yml index a5febcb..637f7ab 100644 --- a/.github/workflows/npmpublish-lts.yml +++ b/.github/workflows/npmpublish-lts.yml @@ -17,7 +17,8 @@ jobs: - uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.6.0 with: - node-version: 16 + node-version: 22 + - run: npm config set legacy-peer-deps true=true - run: npm ci - run: npm test @@ -28,10 +29,11 @@ jobs: - uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.6.0 with: - node-version: 16 + node-version: 22 registry-url: https://registry.npmjs.org/ - name: Set up NPM authentication run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc + - run: npm config set legacy-peer-deps true=true - run: npm ci - run: npm publish --tag ${GITHUB_REF##*/} env: diff --git a/.github/workflows/npmpublish-main.yml b/.github/workflows/npmpublish-main.yml index 27e3d99..d8e3780 100644 --- a/.github/workflows/npmpublish-main.yml +++ b/.github/workflows/npmpublish-main.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.6.0 with: - node-version: 20 + node-version: 22 - run: npm config set legacy-peer-deps true=true - run: npm ci - run: npm test @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v3.3.0 - uses: actions/setup-node@v3.6.0 with: - node-version: 20 + node-version: 22 registry-url: https://registry.npmjs.org/ - name: Set up NPM authentication run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc