diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..df411c1344 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: test +on: + push: + branches: + - main + pull_request: + branches: + - '**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - id: node-version + run: echo "::set-output name=NODE_VERSION::${cat .node-verison)" + - uses: actions/setup-node@master + with: + node-version: "${{ steps.node-version.outputs.NODE_VERSION }}" + - run: npm ci + - run: npm run lint + - run: npm run electron:build