Skip to content

Commit

Permalink
Merge pull request #4 from managed-components/action_tests
Browse files Browse the repository at this point in the history
Add Github Action test
  • Loading branch information
tomkln authored Jul 18, 2023
2 parents 60d9acc + 589524c commit efa1677
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Build Test'

on:
push:
branches:
- '**'

jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Running Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# Actual Tests
- run: npm i
- run: npm run lint --if-present
- run: npm run typecheck --if-present
- run: npm run bundle --if-present

0 comments on commit efa1677

Please sign in to comment.