From f9b79d23ee9bc32b4a1856961b3d949f01fb9e26 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 13 Oct 2023 11:11:52 +0200 Subject: [PATCH] Do not use a private action on a public repository (#38) * Do not use a private action on a public repository * Bump version to 0.0.6 --- .github/workflows/release.yml | 22 ++++++++++++++-------- package.json | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4c5352..8148ac4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index 517f7d4..c58ac6a 100644 --- a/package.json +++ b/package.json @@ -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": {