Skip to content

Commit

Permalink
chore: yarn -> npm
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Oct 18, 2024
1 parent 55e9aab commit 18c9a81
Show file tree
Hide file tree
Showing 6 changed files with 3,951 additions and 2,457 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: manual release

on:
workflow_dispatch:
push:
branches: [main]

jobs:
release:
Expand All @@ -21,4 +23,4 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create ${{ steps.changelog.outputs.tag }} --notes-file CHANGELOG.md
gh release create "${{ steps.changelog.outputs.tag }}" --notes "${{ steps.changelog.outputs.clean_changelog }}"
10 changes: 4 additions & 6 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: publish
on:
workflow_dispatch:
release:
types: [published]
types: [released]

jobs:
npm-publish:
Expand All @@ -17,13 +17,11 @@ jobs:
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
cache: yarn
cache: npm
- name: Install dependencies
run: yarn install --network-timeout 600000
run: npm install
- name: Build
run: yarn build
- name: Install oclif CLI (used in post|pre pack scripts)
run: npm install --global oclif@^3
run: npm run build
- name: Publish to npm
run: npm publish --access public
env:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/.idea
/.nyc_output
/lib
/package-lock.json
/tmp
node_modules
oclif.manifest.json
Loading

0 comments on commit 18c9a81

Please sign in to comment.