From 053b440c7630cf154d20e640e412540d22cd7f3d Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Thu, 13 Jul 2023 23:49:40 -0400 Subject: [PATCH 1/2] Add basic workflow for PR testing before merge --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..6d21f352 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: Test Status +on: + workflow_dispatch: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + env: + CI: true + + strategy: + matrix: + os: [ubuntu-latest] + node-version: [8, lts/-1, lts/*] + experimental: [false] + include: + - os: ubuntu-latest + node-version: latest + experimental: true + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm test + - run: npm run build + - run: npm update + - run: npm ci + - run: npm test + - run: npm run build + From 532af6d65ddd49a5a2e832743f5c3bd0c2a259ca Mon Sep 17 00:00:00 2001 From: Chris Barth Date: Thu, 13 Jul 2023 23:51:02 -0400 Subject: [PATCH 2/2] Ignore Node 8 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d21f352..b77ad639 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [8, lts/-1, lts/*] + node-version: [lts/-1, lts/*] experimental: [false] include: - os: ubuntu-latest