From 7ab1152facbfb859d0fa31181880f6d6eb163c80 Mon Sep 17 00:00:00 2001 From: Brenzee Date: Tue, 31 Oct 2023 11:04:43 +0200 Subject: [PATCH] chore: cI yml file improvements --- .github/workflows/workflow.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7ae8b4f..16fa1fe 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,4 +1,4 @@ -name: CI +name: Semantic Release & Publish on: push: branches: [main] @@ -6,13 +6,10 @@ jobs: test: runs-on: ubuntu-lastest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: "12" + - uses: actions/checkout@v3 - run: yarn install --frozen-lockfile - run: yarn test - - name: Release + - name: Release & Publish env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}