From 9b67d54e239dbb204841513078f7f418d0a48623 Mon Sep 17 00:00:00 2001 From: Manuel Date: Thu, 4 Jan 2024 15:34:00 +0100 Subject: [PATCH] fix(ci/cd): add build step to pipeline --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..f757e745 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build + +on: push + +env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + +jobs: + format-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "npm" + - run: npm ci + - run: npm run build