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": {