diff --git a/.github/workflows/build-action.yml b/.github/workflows/build-action.yml index 9d4b1a98d..d04bbc4bb 100644 --- a/.github/workflows/build-action.yml +++ b/.github/workflows/build-action.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Cache dependencies and build uses: actions/cache@v4 @@ -81,7 +81,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Restore cache uses: actions/cache@v4 @@ -125,7 +125,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Restore cache uses: actions/cache@v4 @@ -204,7 +204,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Restore npm cache uses: actions/cache@v4 @@ -240,66 +240,3 @@ jobs: name: e2e-tests-report path: tests/report/ retention-days: 30 - - Release-on-NPM: - if: github.ref == 'refs/heads/main' - timeout-minutes: 180 - runs-on: ubuntu-latest - needs: [Build-And-Test-Server, Run-Unit-Tests, Build-And-Test-Web] - steps: - - name: Restore repository - uses: actions/cache@v4 - with: - path: . - key: repo-${{ github.sha }} - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '18' - - - name: Build o1js - run: | - npm ci - npm run prepublishOnly - - - name: Publish to NPM if version has changed - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - strategy: upgrade - env: - INPUT_TOKEN: ${{ secrets.NPM_TOKEN }} - - Release-mina-signer-on-NPM: - if: github.ref == 'refs/heads/main' - timeout-minutes: 180 - runs-on: ubuntu-latest - needs: [Build-And-Test-Server, Run-Unit-Tests, Build-And-Test-Web] - steps: - - name: Restore repository - uses: actions/cache@v4 - with: - path: . - key: repo-${{ github.sha }} - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: '18' - - - name: Build mina-signer - run: | - npm ci - cd src/mina-signer - npm ci - npm run prepublishOnly - - - name: Publish to NPM if version has changed - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: './src/mina-signer/package.json' - strategy: upgrade - env: - INPUT_TOKEN: ${{ secrets.NPM_TOKEN }}