From 240787e166dd8b597da90c9186ef8f41baa0fe1b Mon Sep 17 00:00:00 2001 From: Trezy Date: Thu, 14 Apr 2022 18:14:59 -0500 Subject: [PATCH] Revert "ci(gh-actions): use prebuilt action for semantic-release" This reverts commit 9f918e8a770d89074913aa3df216bafe425d2543. --- .github/workflows/test-and-release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index dab2846..6a619df 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -39,9 +39,17 @@ jobs: - name: Checkout uses: actions/checkout@v3 - # Uses codfish's Semantic Release Action: https://github.com/marketplace/actions/semantic-release-action + - name: Setup Node + uses: actions/setup-node@v3 + with: + cache: 'yarn' + node-version: '16' + + - name: Install Packages + run: yarn install + - name: Release - uses: docker://ghcr.io/codfish/semantic-release-action@sha256:43a9e5ce88fc0460c22f3f3c45e39ac99e1cefff2ffd76c6e8c34306c8ccec91 + run: yarn semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}