From 914a5b9c87bcbc92fc5f8854cfb252c906080858 Mon Sep 17 00:00:00 2001 From: Conor McNamara Date: Tue, 7 Mar 2023 19:48:27 +0000 Subject: [PATCH] Add GitHub Actions --- .github/workflows/integrate.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/integrate.yml diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml new file mode 100644 index 0000000..9c23632 --- /dev/null +++ b/.github/workflows/integrate.yml @@ -0,0 +1,19 @@ +name: Continuous Integration + +on: + pull_request: + branches: [ master ] + +jobs: + test_pull_request: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: npm ci + - run: cd functions && npm ci + - run: npm run test + - run: cd .. + - run: npm run build \ No newline at end of file