Skip to content

Commit

Permalink
feat: house keeping
Browse files Browse the repository at this point in the history
[skip ci]

* Packages updared to latest versions
* node versions updarted for build
* package manager changed to pnpm
* prettier plugin no longer inlcluded by default - its now an optional addition

BREAKING CHANGE: prettier plugin no longer included by default
  • Loading branch information
arcticShadow committed Nov 16, 2023
1 parent db18eb4 commit 30049cd
Show file tree
Hide file tree
Showing 6 changed files with 2,717 additions and 5,639 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '20.x'
- run: npx markdownlint-cli2 "**/*.{md,markdown}"

commit-lint:
Expand All @@ -31,8 +31,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- run: npm i
- run: npm run lint
node-version: '20.x'
- run: |
corepack enable
corepack prepare pnpm@latest --activate
- run: pnpm i
- run: pnpm run lint


6 changes: 4 additions & 2 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version-file: '.nvmrc'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- run: |
corepack enable
pnpm install
- run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
Loading

0 comments on commit 30049cd

Please sign in to comment.