Skip to content

Commit

Permalink
Remove redundant tests in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Oct 2, 2024
1 parent c260344 commit e3a3df7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Read version from 'package.json'; git tags are lost on a merged PR.
- name: Read package version
id: version
run: echo "PKG_VERSION=v$(npm pkg get version | xargs)" >> $GITHUB_OUTPUT
Expand All @@ -24,6 +25,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

# Determine whether to tag the release as 'latest' or 'alpha'.
- name: Assign dist tag
id: dist-tag
uses: actions/github-script@v7
Expand All @@ -47,11 +49,9 @@ jobs:
corepack enable
yarn install
# Build. Tests are run automatically by `yarn prepublish`.
- name: Build
run: |
yarn lint
yarn build
yarn test
run: yarn build

- name: Configure yarn to publish packages
env:
Expand Down

0 comments on commit e3a3df7

Please sign in to comment.