From 81854f7b950e3816ca9cea60ae3412c9354cda48 Mon Sep 17 00:00:00 2001 From: Pol Gubau Amores Date: Fri, 13 Sep 2024 18:01:31 +0200 Subject: [PATCH] Pol Gubau; MW- --- .github/pol-ui.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/pol-ui.yml b/.github/pol-ui.yml index 91ef5a86..475af172 100644 --- a/.github/pol-ui.yml +++ b/.github/pol-ui.yml @@ -1,6 +1,10 @@ name: CI -on: push +# on push or commit in main branch +on: + push: + branches: + - main jobs: test: @@ -18,7 +22,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: lts/* - cache: 'pnpm' + cache: "pnpm" - name: 📥 Install Dependencies run: pnpm ui install @@ -41,7 +45,7 @@ jobs: with: node-version: lts/* always-auth: true - registry-url: 'https://registry.npmjs.org' + registry-url: "https://registry.npmjs.org" - name: 💡 Install PNPM run: npm install -g pnpm