Skip to content

Commit

Permalink
Improve CI (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Oct 12, 2023
1 parent d89ce5c commit ac9af46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
@@ -1,2 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
@@ -1,11 +1,17 @@
name: ci
on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16.x, 18.x]
node: [16.x, 18.x, 20.x]
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -14,6 +20,8 @@ jobs:
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn install --frozen-lockfile --non-interactive
- name: Build
run: yarn compile
- name: Test
run: yarn test
- name: Check formatting
Expand Down

0 comments on commit ac9af46

Please sign in to comment.