From fc215d17c5f1d8b98cc1ae4e813164e16a335e41 Mon Sep 17 00:00:00 2001 From: Nathan King Date: Tue, 2 Jul 2024 12:42:58 +0100 Subject: [PATCH] add github workflow --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c84464d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: Politescript Tests +on: + pull_request: + branches: [ main ] +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [lts/*] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - run: yarn + - run: yarn test \ No newline at end of file