Skip to content

Commit

Permalink
Remove "Publish to NPM" step from release.yml workflow.
Browse files Browse the repository at this point in the history
The first release of farmOS-timeline does not need to be published to
NPM. We only need to build a JS file for inclusion in farmOS core as a
first step.
  • Loading branch information
mstenta committed Jul 31, 2024
1 parent 7f5210b commit eec8329
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
node-version: '22.x'
- run: npm ci
- run: npm run build
- name: Publish to NPM
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
npm publish --ignore-scripts --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create artifact
run: |
mkdir ${{ env.RELEASE_VERSION }}-dist && cp dist/farmOS-timeline* ${{ env.RELEASE_VERSION }}-dist && zip -r ${{ env.RELEASE_VERSION }}-dist.zip ${{ env.RELEASE_VERSION }}-dist
Expand Down

0 comments on commit eec8329

Please sign in to comment.