Skip to content

Merge pull request #1 from SaekiTominaga/customelements #2

Merge pull request #1 from SaekiTominaga/customelements

Merge pull request #1 from SaekiTominaga/customelements #2

name: input-switch-test
on:
pull_request:
branches:
- main
paths:
- 'customelements/input-switch/__tests__/*.test.js'
- 'customelements/input-switch/src/*.ts'
push:
branches:
- main
paths:
- 'customelements/input-switch/__tests__/*.test.js'
- 'customelements/input-switch/src/*.ts'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run test -w '@saekitominaga/customelements-input-switch'
- uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}