Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use a private action on a public repository #38

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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