From ba93a2a6b58a42858aa7023ce27ddba66ec08ae6 Mon Sep 17 00:00:00 2001 From: kerenbirzon Date: Mon, 15 Jan 2024 15:14:35 +0200 Subject: [PATCH 1/2] pipeline that logs a message --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..35760304 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI +on: + push: + branches: + - main + pull_request: + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Restore cached npm dependencies + uses: actions/cache/restore@v3 + with: + path: | + node_modules + ~/.cache/Cypress # needed for the Cypress binary + key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }} + - run: pnpm install --frozen-lockfile + - name: Cache npm dependencies + uses: actions/cache/save@v3 + with: + path: | + node_modules + ~/.cache/Cypress # needed for the Cypress binary + key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }} + - run: pnpm nx build cart \ No newline at end of file From fb6577640058588b289c7a15efc5b0e2c597973e Mon Sep 17 00:00:00 2001 From: kerenbirzon Date: Mon, 15 Jan 2024 15:17:20 +0200 Subject: [PATCH 2/2] pipeline that logs a message --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35760304..cc10ce18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,4 +30,4 @@ jobs: node_modules ~/.cache/Cypress # needed for the Cypress binary key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }} - - run: pnpm nx build cart \ No newline at end of file + - run: pnpm nx run-many -t build \ No newline at end of file