Skip to content

Commit

Permalink
Support for Github Actions (#2)
Browse files Browse the repository at this point in the history
* Support for Github Actions
  • Loading branch information
gaby committed Apr 26, 2022
1 parent 2586287 commit d1c3f81
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/auto-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Auto Test

on:
push:
pull_request:

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

strategy:
matrix:
os: [ubuntu-latest]
node-version: [14.x, 16.x]

steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install StoreDown dependencies
run: npm ci

- name: Build StoreDown artifacts
run: npm run build

- name: Run lint test
run: npm run lint

0 comments on commit d1c3f81

Please sign in to comment.