mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-10 12:07:05 +00:00
25 lines
452 B
YAML
25 lines
452 B
YAML
name: 'build-test'
|
|
permissions:
|
|
contents: read
|
|
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@v5
|
|
- run: |
|
|
npm install
|
|
- run: |
|
|
npm run build
|
|
- run: |
|
|
npm run test
|