Skip to content

Commit

Permalink
Do not use a private action on a public repository (#38)
Browse files Browse the repository at this point in the history
* Do not use a private action on a public repository

* Bump version to 0.0.6
  • Loading branch information
rgs authored Oct 13, 2023
1 parent 6e8c41d commit f9b79d2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ jobs:
id-token: write
packages: write
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Release action
uses: Spendesk/common-github-actions/spendesk-release@main
- uses: actions/checkout@v3
- id: setup-node
uses: actions/setup-node@v3
with:
skip-checks: false
dual-publish: false
use-semantic-release: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
node-version-file: package.json
registry-url: https://npm.pkg.github.com
- id: build-and-publish
shell: bash
run: |
npm ci
npm test
npm publish
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spendesk/prettier-plugin-import-sort",
"version": "0.0.5",
"version": "0.0.6",
"description": "Prettier plugin to pass javascript and typescript through import-sort",
"main": "src/index.js",
"repository": {
Expand Down

0 comments on commit f9b79d2

Please sign in to comment.