From 627539d1798dfddde8ff31cda3ba194dda4f4ee2 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Tue, 13 Oct 2020 14:03:19 +0200 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..e8a3ef7d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup + uses: actions/setup-node@v1 + with: + node-version: 14.x + - name: Install + run: npm ci + - name: Build + run: npm run build + - name: Test + run: npm test -- ${{ secrets.METRICS_TEST_TOKEN }}