diff --git a/.github/workflows/create-tag.yml b/.github/workflows/create-tag.yml index f8203a5e..bd2c8718 100644 --- a/.github/workflows/create-tag.yml +++ b/.github/workflows/create-tag.yml @@ -10,15 +10,16 @@ jobs: if: "! contains(github.event.head_commit.message, '[skip ci]')" strategy: matrix: - node-version: [14.x] + node-version: [18.x] steps: - uses: actions/checkout@master with: persist-credentials: false - name: Build files using ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: "yarn" - name: Release new version id: release run: | diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99a2a8bc..5391a3ab 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,9 +10,10 @@ jobs: steps: - uses: actions/checkout@master - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/hydrogen # 18.x + cache: "yarn" - name: Build run: | yarn install --frozen-lockfile