Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
re-init
Browse files Browse the repository at this point in the history
  • Loading branch information
m00sey committed Sep 15, 2023
1 parent cc53f1b commit 28155f7
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
name: CI
on: [push]
name: Run Tests
on:
push:
branches:
- 'main'
- 'development'
pull_request:
branches:
- 'main'
- 'development'
workflow_dispatch:
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
name: Build, lint, and test on Node 18.12.1 and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['10.x', '12.x', '14.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ macOS-latest, ubuntu-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

Expand All @@ -30,3 +37,8 @@ jobs:

- name: Build
run: yarn build

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 28155f7

Please sign in to comment.