Skip to content

Commit

Permalink
Merge pull request #29 from strapi-community/publish/workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy authored Sep 23, 2024
2 parents 84cd64f + dea6c8f commit 5b2bf14
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26 changes: 26 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
node_modules
npm-debug.log
.DS_Store
*.tgz
*.log
.idea
.vscode
*.sublime-project
*.sublime-workspace
*.swp
*.swo
*.bak
*.tmp
*.temp
*.orig
*.rej
*.patch
*.diff
*.sublime-*
docs*
.github*
.editorconfig
.gitattributes
.markdownlint.json
.prettierrc.js
CODE_OF_CONDUCT.md
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "strapi-plugin-redis",
"name": "@strapi-community/plugin-redis",
"version": "2.0.0",
"description": "Plugin used to centralize management of Redis connections in Strapi",
"strapi": {
Expand Down

0 comments on commit 5b2bf14

Please sign in to comment.