tried fixing error #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Publish Blog To Hashnode" | |
on: | |
push: | |
branches: | |
- "testing-hashnode-blog" | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run tsup to Bundle TypeScript | |
run: pnpm run build | |
- name: Run Hashnode Integration | |
run: node dist/hashnode/index.js |