Skip to content

Commit

Permalink
Merge pull request #84 from unicef/fix/update-yml-publish-file-to-run…
Browse files Browse the repository at this point in the history
…-after-release

PR to update nodejs.yml so publish is only done after release deployment
  • Loading branch information
dfrancisc authored Mar 28, 2024
2 parents 12c4da4 + 519465a commit e77a612
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
inputs:
logLevel:
description: 'Message'
required: false
release:
types: [created]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unicef/material-slate",
"version": "0.5.0",
"description": "Material UI rich text editor based on Slate for react",
"main": "./dist/index.js",
"main": "index.js",
"homepage": "https://unicef.github.io/material-slate",
"repository": {
"type": "git",
Expand Down

0 comments on commit e77a612

Please sign in to comment.