diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 675c90c..7f5d499 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -34,18 +34,16 @@ jobs: push: true no-cache: true deploy: - strategy: - matrix: - node-version: [18.x] runs-on: ubuntu-latest if: github.event.repository.name != 'main' && github.event.repository.name != 'template-service' needs: [test, build] steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.9.0 + cache: yarn - name: Install SSH key uses: shimataro/ssh-key-action@v2 continue-on-error: true diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a5eedcb..39eedcd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,15 +13,13 @@ on: jobs: lint: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.9.0 + cache: yarn - name: Install SSH key uses: shimataro/ssh-key-action@v2 continue-on-error: true @@ -36,15 +34,13 @@ jobs: run: yarn lint test: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 20.9.0 + cache: yarn - name: Install SSH key uses: shimataro/ssh-key-action@v2 continue-on-error: true