From bab6fc9c1745764268a844d079dfbb4f98cb9834 Mon Sep 17 00:00:00 2001 From: Viacheslav Kudinov Date: Thu, 10 Jun 2021 15:57:23 +0200 Subject: [PATCH] Workflow changes. --- .github/workflows/build-action.yaml | 22 +++++++++++++++++++ .../{pr_flow.yaml => test_maven_actions.yaml} | 3 +-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build-action.yaml rename .github/workflows/{pr_flow.yaml => test_maven_actions.yaml} (91%) diff --git a/.github/workflows/build-action.yaml b/.github/workflows/build-action.yaml new file mode 100644 index 0000000..b68033c --- /dev/null +++ b/.github/workflows/build-action.yaml @@ -0,0 +1,22 @@ +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 12 + - run: npm install + - run: npm run build + - run: npm run build-distr diff --git a/.github/workflows/pr_flow.yaml b/.github/workflows/test_maven_actions.yaml similarity index 91% rename from .github/workflows/pr_flow.yaml rename to .github/workflows/test_maven_actions.yaml index aabfd37..71e918c 100644 --- a/.github/workflows/pr_flow.yaml +++ b/.github/workflows/test_maven_actions.yaml @@ -1,7 +1,6 @@ -name: Java CI/CD workflow +name: "Test result actions" on: - pull_request: push: branches: - master