-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make this module releaseable internally to the Spendesk organisation
- Move from yarn to npm - Rename package to `@spendesk/prettier-plugin-import-sort` - Add Github workflows - Bump version
- Loading branch information
Showing
6 changed files
with
6,256 additions
and
2,523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
release: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
id-token: write | ||
packages: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Release action | ||
uses: Spendesk/common-github-actions/spendesk-release@main | ||
with: | ||
skip-checks: false | ||
dual-publish: false | ||
use-semantic-release: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Build and test | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- id: setup-node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: package.json | ||
- run: npm ci | ||
- run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
//npm.pkg.github.com/:_authToken=${GH_TOKEN} | ||
@spendesk:registry=https://npm.pkg.github.com |
Oops, something went wrong.