test.yml (674B)
1 name: "build-test" 2 on: # rebuild any PRs and main branch changes 3 pull_request: 4 push: 5 branches: 6 - main 7 - "releases/*" 8 9 jobs: 10 build: # make sure build/ci work properly 11 runs-on: ubuntu-latest 12 steps: 13 - uses: actions/checkout@v4 14 - run: | 15 npm install 16 - run: | 17 npm run all 18 test: # make sure the action works on a clean machine without building 19 runs-on: ubuntu-latest 20 permissions: 21 checks: write 22 steps: 23 - uses: actions/checkout@v4 24 - uses: ./ 25 with: 26 working_directory: ./test_page 27 repo-token: ${{ secrets.GITHUB_TOKEN }} 28 conclusion_level: neutral