Skip to content

Commit

Permalink
fix: remove tests and lint steps from semantic release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogrodzki committed May 26, 2024
1 parent 3b0be6b commit 160662d
Showing 1 changed file with 1 addition and 46 deletions.
47 changes: 1 addition & 46 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,58 +72,13 @@ jobs:
${{ runner.os }}-build-cache-v1-${{ github.ref_name }}-
- run: yarn build

lint:
name: Lint packages
timeout-minutes: 10
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache node_modules
uses: actions/cache@v3
with:
path: |
node_modules
key: ${{ runner.os }}-node_modules-cache-v1-${{ hashFiles('./yarn.lock') }}-${{github.sha}}
- run: yarn lint

tests:
name: Tests
timeout-minutes: 15
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache node_modules
uses: actions/cache@v3
with:
path: |
node_modules
key: ${{ runner.os }}-node_modules-cache-v1-${{ hashFiles('./yarn.lock') }}-${{github.sha}}
- name: Cache build
uses: actions/cache@v3
with:
path: |
packages/**/lib
key: ${{ runner.os }}-build-cache-v1-${{ github.ref_name }}-${{github.sha}}
- run: yarn test

semantic-release:
if: "!contains(github.event.head_commit.message, '[skip ci]')"

name: Semantic Release
runs-on: ubuntu-latest
needs:
- lint
- tests
- build
permissions:
contents: write

Expand Down

0 comments on commit 160662d

Please sign in to comment.