From f74a86093d34d6837e0450752e39a6e47902eb48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20Magalh=C3=A3es?= Date: Tue, 6 Jul 2021 03:16:31 +0200 Subject: [PATCH] fix: github actions build pipeline --- .github/workflows/main.yml | 7 +++++-- package.json | 16 +--------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eea9a3f..f300777 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,11 @@ jobs: with: node-version: 16 - - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 + - name: Install dependencies + run: yarn + + - name: Build + run: yarn build - name: Lint run: yarn lint diff --git a/package.json b/package.json index da6e3c6..c21bb7e 100644 --- a/package.json +++ b/package.json @@ -84,21 +84,7 @@ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ], - [ - "@semantic-release/github", - { - "assets": [ - { - "path": "dist/index.js", - "label": "JS distribution" - }, - { - "path": "dist/index.es.js", - "label": "ES distribution" - } - ] - } - ] + "@semantic-release/github" ] } }