From ca0b68d4095f72162005f13f1137d3e82251dce9 Mon Sep 17 00:00:00 2001 From: "J. K. Edwards" Date: Sat, 25 Jan 2025 17:20:58 -0500 Subject: [PATCH 1/2] Create rabbit.yml CI workflow --- .workflow/rabbit.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .workflow/rabbit.yml diff --git a/.workflow/rabbit.yml b/.workflow/rabbit.yml new file mode 100644 index 00000000..65b08224 --- /dev/null +++ b/.workflow/rabbit.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + + - name: Run build + run: npm run build + + - name: Run tests + run: npm test From 5f9fb0234024371eb5195b6eff992f6e09cd8d60 Mon Sep 17 00:00:00 2001 From: "J. K. Edwards" Date: Sat, 25 Jan 2025 17:24:53 -0500 Subject: [PATCH 2/2] Update rabbit.yml --- .workflow/rabbit.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.workflow/rabbit.yml b/.workflow/rabbit.yml index 65b08224..8faf9a8a 100644 --- a/.workflow/rabbit.yml +++ b/.workflow/rabbit.yml @@ -29,3 +29,38 @@ jobs: - name: Run tests run: npm test + +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + + - name: Run build + run: npm run build + + - name: Run lint + run: npm run lint + + - name: Run tests + run: npm test