Skip to content

Commit

Permalink
chore(Setup): Adjust github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
m-arrieta-r committed Aug 4, 2024
1 parent af12981 commit e5d9b12
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check if version has been updated
id: check
uses: EndBug/version-check@v2
- uses: actions/setup-node@v4
if: steps.check.outputs.changed == 'true'
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
# registry-url: 'https://npm.pkg.github.com'
- run: yarn install --frozen-lockfile
if: steps.check.outputs.changed == 'true'
- run: yarn build
if: steps.check.outputs.changed == 'true'
- run: npm publish
if: steps.check.outputs.changed == 'true'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e5d9b12

Please sign in to comment.