Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TyMick committed Jun 28, 2023
1 parent 4271e7c commit 98512dc
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ charset = utf-8
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.yaml]
indent_style = space
42 changes: 42 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test

on:
pull_request:
branches:
- master
paths-ignore:
- '*.md'
- 'catalog/**'
push:
branches:
- master
paths-ignore:
- '*.md'
- 'catalog/**'

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node_version:
- 14
- 16
- 18

name: Node.js ${{ matrix.node_version }} on ${{ matrix.os }}

steps:
- name: Clone
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- run: yarn install --frozen-lockfile
- run: yarn test

0 comments on commit 98512dc

Please sign in to comment.