Skip to content

Commit

Permalink
chore: Update npm dependencies and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
german-egg committed Jun 3, 2024
1 parent b6bac78 commit 1a5597e
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,29 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]

steps:
- name: 🔗 Checkout
uses: actions/checkout@v4

- name: ⚙️ Setup Node
- name: 📥 Install pnpm
uses: pnpm/action-setup@v4

- name: 🛠️ Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: '22.x'
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'

- name: 🔩 Install dependencies and build
run: npm ci && npm run build
- name: 📥 Install dependencies
run: pnpm install

- name: 🏗️ Build package
run: pnpm run build

- name: 📦 Publish package on NPM
run: npm publish
Expand Down

0 comments on commit 1a5597e

Please sign in to comment.