From 783fe607b163c1bcfdf56f5e4ea14e03c2727f03 Mon Sep 17 00:00:00 2001 From: Hamed Ghasemzadeh Date: Wed, 18 Oct 2023 21:25:30 +0000 Subject: [PATCH] feat: trigger workflow on branch push --- .github/workflows/push.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..bdc6b05 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,20 @@ +name: build + +on: + push: + branches: + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + registry-url: 'https://npm.pkg.github.com' + - run: npm ci + - run: npm run build + - run: npm run test