From 5f8be27e1ecdc017b6d0274f483b138c22f5d3ef Mon Sep 17 00:00:00 2001 From: Alexandru Dima <alexdima@microsoft.com> Date: Wed, 23 Dec 2020 16:26:24 +0100 Subject: [PATCH] Add GitHub Action CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..1b8fa16e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: push + +jobs: + ci: + name: CI + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-node@v2 + with: + node-version: 12 + + - name: npm install + run: npm install + + - name: Compile + run: npm run compile + + - name: Test + run: npm test