From 4642b3a0fc091f040c50d31c87daee571424a5d8 Mon Sep 17 00:00:00 2001 From: Pascal Reitermann Date: Tue, 4 Apr 2023 21:45:17 +0200 Subject: [PATCH] Optimize actions --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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 0000000..628a965 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: build + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +env: + NODE_VERSION: 16 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: $NODE_VERSION + - name: install + run: npm i + - name: compile + run: npm run compile \ No newline at end of file