Skip to content

Commit

Permalink
build: 🔖 v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherLMiller committed Jun 20, 2024
1 parent b8b9673 commit 2495385
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish package to GitHub Packages
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@octocat'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "clockify",
"name": "strapi-plugin-clockify",
"version": "1.0.0",
"description": "This is the description of the plugin.",
"description": "Plugin to link Clockify time keeping app with Strapi CMS",
"strapi": {
"name": "Clockify",
"description": "Plugin to link Clockify time keeping app with Strapi",
"description": "Plugin to link Clockify time keeping app with Strapi C<S",
"kind": "plugin"
},
"dependencies": {
Expand Down Expand Up @@ -33,13 +33,17 @@
"styled-components": "^5.2.1"
},
"author": {
"name": "A Strapi developer"
"name": "ChristopherLMiller"
},
"maintainers": [
{
"name": "A Strapi developer"
"name": "ChristopherLMiller"
}
],
"repository": {
"type": "git",
"url": "https://github.com/ChristopherLMiller/strapi-plugin-clockify"
},
"engines": {
"node": ">=18.0.0 <=20.x.x",
"npm": ">=6.0.0"
Expand All @@ -48,5 +52,6 @@
"develop": "tsc -p tsconfig.server.json -w",
"build": "tsc -p tsconfig.server.json"
},
"license": "MIT"
"license": "MIT",
""
}

0 comments on commit 2495385

Please sign in to comment.