Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test.yml #32

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 29 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,42 @@
name: "build-test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- master
- 'releases/*'
- release/*
- releases/*
pull_request:
branches:
- main
- master
- release/*
- releases/*

permissions:
security-events: write
actions: write
checks: write
deployments: write
id-token: write
discussions: write
pull-requests: write
statuses: write

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
npm install
- run: |
npm run all
- uses: actions/checkout@v4
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
path: '**/checkstyle-result.xml'
- uses: actions/checkout@v4
- uses: ./
with:
path: '**/checkstyle-result.xml'
Loading