From 74f5934fec211bbf0a06cbb637c40faf9f073631 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Sat, 8 Apr 2023 23:58:22 +0200 Subject: [PATCH] chore: don't pin github actions --- .github/workflows/ci.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93a52b1ac..2fdfa621f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: cache: npm node-version: lts/* @@ -66,8 +66,8 @@ jobs: run: | git config --global core.autocrlf false git config --global core.eol lf - - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: cache: npm node-version: ${{ matrix.node }} @@ -81,12 +81,12 @@ jobs: if: always() && github.event.inputs.release == 'true' && needs.build.result != 'failure' && needs.test.result != 'failure' && needs.test.result != 'cancelled' runs-on: ubuntu-latest steps: - - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 + - uses: actions/checkout@v3 with: # Need to fetch entire commit history to # analyze every commit since last release fetch-depth: 0 - - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 + - uses: actions/setup-node@v3 with: cache: npm node-version: lts/* @@ -99,9 +99,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - # Re-run semantic release with rich logs if it failed to publish for easier debugging - - run: npx semantic-release --dry-run --debug - if: failure() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}