From d69400cefa295398039031c0033747cb88cd4e36 Mon Sep 17 00:00:00 2001 From: Caleb Robson <94545082+Spartan2909@users.noreply.github.com> Date: Sun, 20 Nov 2022 14:26:34 +0000 Subject: [PATCH] Move to reusable workflow --- .github/workflows/CI.yml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6013801..89f0d10 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,28 +6,8 @@ on: paths-ignore: ["**.md", ".vscode/**", "docs/**", ".github/workflows/pages.yml"] pull_request: branches: [main] + workflow_dispatch: jobs: test: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: ["14.x", "16.x"] - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - name: npm install - run: | - sudo apt-get install xvfb - sudo npm install -g pxt - npm install - - name: pxt - run: | - pxt target microbit - pxt install - pxt build - pxt test \ No newline at end of file + uses: SNORE-Project/.github/.github/workflows/build.yml@main