Skip to content

Commit

Permalink
feat: update links, typos, deps, CI
Browse files Browse the repository at this point in the history
  • Loading branch information
norskeld committed Jul 3, 2024
1 parent 9802b68 commit 5196aa2
Show file tree
Hide file tree
Showing 8 changed files with 10,367 additions and 7,166 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches: [master]
types: [completed]

env:
HUSKY: 0

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -16,7 +19,7 @@ jobs:
- name: Use Node Active LTS
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '20'
cache: 'npm'
- name: Install Deps
run: npm ci
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ on:
pull_request:
workflow_dispatch:

env:
HUSKY: 0

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Use Node Active LTS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
cache: 'npm'
- name: Install Deps
run: npm ci
Expand Down
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Vladislav Mamon
Copyright (c) 2024 Vladislav Mamon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
[![Build/Test](https://img.shields.io/github/actions/workflow/status/norskeld/unindent/test.yml?style=flat-square&colorA=22272d&colorB=22272d)](https://github.com/norskeld/unindent/actions 'Build and test workflows')
[![NPM](https://img.shields.io/npm/v/@nrsk/unindent?style=flat-square&colorA=22272d&colorB=22272d)](https://npm.im/@nrsk/unindent 'This package on NPM')
[![Coverage](https://img.shields.io/coverallsCoverage/github/norskeld/unindent?style=flat-square&colorA=22272d&colorB=22272d)](https://coveralls.io/github/norskeld/unindent 'Test coverage')
[![Supported Node Versions](https://img.shields.io/static/v1?label=node&message=14+|+16+|+18&style=flat-square&colorA=22272d&colorB=22272d)](https://github.com/norskeld/sigma/blob/master/package.json#L35 'Supported Node versions')
[![Semantic Release](https://img.shields.io/static/v1?label=semantic+release&message=✔&style=flat-square&colorA=22272d&colorB=22272d)](https://github.com/semantic-release/semantic-release 'This package uses semantic release to handle releasing, versioning, changelog generation and tagging')
[![Conventional Commits](https://img.shields.io/static/v1?label=conventional+commits&message=✔&style=flat-square&colorA=22272d&colorB=22272d)](https://conventionalcommits.org 'This package follows the conventional commits spec and guidelines')

Expand All @@ -21,7 +20,7 @@ Microlibrary for unindenting multiline strings.
Just use your favorite package manager:

```bash
npm i @nrsk/sigma
npm i @nrsk/unindent
```

### Deno
Expand Down
Loading

0 comments on commit 5196aa2

Please sign in to comment.