From 3b731cc770eb6a3c6fe2bb69762e1a10a16dc3cd Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sun, 21 Apr 2024 23:23:50 -0700 Subject: [PATCH] ci: update to shared GHA workflows --- .github/workflows/ci.yml | 41 +++++++++++----------------------------- 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94be697..7ec834c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,38 +4,19 @@ on: [ push, pull_request ] env: CI: true - node-version: 16 jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - name: Node ${{ env.node-version }} - with: - node-version: ${{ env.node-version }} - - run: npm install - - run: npm run lint + uses: haraka/.github/.github/workflows/lint.yml@master + + # coverage: + # uses: haraka/.github/.github/workflows/coverage.yml@master + # secrets: inherit test: - runs-on: ${{ matrix.os }} - services: - redis: - image: redis - ports: - - 6379:6379 - strategy: - matrix: - os: [ ubuntu-latest ] - node-version: [ 14, 16, 18 ] - fail-fast: false - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - name: Node ${{ matrix.node-version }} on ${{ matrix.os }} - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm run test + needs: [lint] + uses: haraka/.github/.github/workflows/ubuntu.yml@master + + windows: + needs: [lint] + uses: haraka/.github/.github/workflows/windows.yml@master