Skip to content

Commit

Permalink
Move to reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartan2909 authored Nov 20, 2022
1 parent 59cf1f4 commit d69400c
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
uses: SNORE-Project/.github/.github/workflows/build.yml@main

0 comments on commit d69400c

Please sign in to comment.