-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'pull_reqest' workflow and 'test' steps (#681)
* Add pull_reqest: ci trigger * Limit actions push branches ('master', 'en') * Add pull request workflow * Rm pull_request condition from the docker-image workflow * Rm testNodeVersionDockerfile We no more use node build in Dockerfile * Add test step * Put back testNodeVersionDockerfile, but not for CI Dockerfiles * Put back Gruntfile from master * Rm test for frontend.Dockerfile * Add test step to the Docker workflow * Update .github/workflows/pull-request.yml Co-authored-by: Ruslan Kabalin <[email protected]> --------- Co-authored-by: Ruslan Kabalin <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Pull request CI test | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.10.0 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Test | ||
run: npm run test | ||
|
||
- name: Build | ||
run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters