mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-11 12:37:16 +00:00
23 lines
422 B
YAML
23 lines
422 B
YAML
name: 'build-test'
|
|
on: # rebuild any PRs and main branch changes
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'releases/*'
|
|
|
|
jobs:
|
|
build: # make sure build/ci work properly
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: |
|
|
npm install
|
|
- run: |
|
|
npm run build
|
|
- run: |
|
|
npm run test
|