diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e0c2f0..d36abb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3.7.0 + uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: "22.x" - name: Install dependencies run: npm install - name: Build @@ -25,7 +25,7 @@ jobs: rm -rf dist npm run prepare - name: Upload dist - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -36,17 +36,17 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3.7.0 + uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: "22.x" - name: Install dependencies run: npm install - name: Download dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist path: dist