diff --git a/.github/workflows/back-kit-engine.yml b/.github/workflows/back-kit-engine.yml index 088db45..891da35 100644 --- a/.github/workflows/back-kit-engine.yml +++ b/.github/workflows/back-kit-engine.yml @@ -19,8 +19,7 @@ jobs: strategy: matrix: node-version: - - 16.x - - 17.x + - 18.x steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -53,7 +52,7 @@ jobs: path-to-lcov: '${{ env.context }}coverage/lcov.info' base-path: '${{ env.context }}' - name: Compile file and build - if: ${{ (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' || github.base_ref == 'main') && matrix.node-version == '16.x' }} + if: ${{ (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' || github.base_ref == 'main') && matrix.node-version == '18.x' }} run: yarn build - name: Cache dist directory uses: actions/cache@v3 @@ -70,10 +69,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js 16.x + - name: Use Node.js 18.x uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 18.x always-auth: true registry-url: 'https://registry.npmjs.org' scope: '@micro-lc'