Skip to content

Commit

Permalink
chore: Bump deps, add release workflow (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
motform authored Feb 19, 2024
1 parent d2648a7 commit 5c51ff9
Show file tree
Hide file tree
Showing 4 changed files with 1,037 additions and 2,444 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-django-bananas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release django-bananas

on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/workflows/release-djedi-json.yml"
- "package.json"

jobs:
release:
name: Build and push npm release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Build package
run: npm run build
- name: Publish package
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./dist/package.json
Loading

0 comments on commit 5c51ff9

Please sign in to comment.