Skip to content

Commit

Permalink
Edit github pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Paola Nicosia committed Feb 27, 2024
1 parent e17686c commit d1b16fb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/back-kit-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit d1b16fb

Please sign in to comment.