From de4ef382a6760a81530083cd11fa4cc12efc3f52 Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Thu, 11 Jan 2024 12:27:22 +0200 Subject: [PATCH] chore: update workflows --- .github/workflows/workflow.yml | 43 ++++------------------------------ 1 file changed, 5 insertions(+), 38 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e18e9f1..a3a1433 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,47 +1,14 @@ -name: Github CI +name: CI on: pull_request: branches: - master - - beta push: branches: - - master - beta + - master jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Use Node.js 16.x - uses: actions/setup-node@v2 - with: - node-version: '16' - cache: 'npm' - - - name: Install - run: npm ci - - - name: Lint commit messages - uses: wagoid/commitlint-github-action@v3 - - - name: Test and report - env: - GIT_BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || github.ref }} - GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} - SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} - SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} - run: | - echo "::add-matcher::.github/problem-matcher.json" - npm test + build: + uses: Neovici/cfg/.github/workflows/forge.yml@master + secrets: inherit - - name: Semantic release - run: npx semantic-release - if: success() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}