Skip to content

Commit

Permalink
improve project quality.
Browse files Browse the repository at this point in the history
  • Loading branch information
UrielCh committed May 28, 2023
1 parent 9dd168b commit b71c536
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: urielch
13 changes: 10 additions & 3 deletions .github/workflows/deno-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54
uses: denoland/[email protected]
with:
deno-version: v1.x

Expand All @@ -45,9 +44,17 @@ jobs:
env:
PKG_VERSION: ${{inputs.npm_version}}

- name: refresh the project
run: |
npm install -g npm-check-updates
cd npm
npm-check-updates -u
npm install
npm run test
- name: Publish to npmjs.com
run: |
cd npm
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
11 changes: 11 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"fmt": {
"exclude": ["npm/"]
},
"lint": {
"exclude": ["npm/"]
},
"test": {
"exclude": ["npm/"]
}
}
11 changes: 11 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export {
red,
stripColor,
yellow,
} from "https://deno.land/std@0.187.0/fmt/colors.ts";
export { writeAll } from "https://deno.land/std@0.187.0/streams/write_all.ts";
} from "https://deno.land/std@0.189.0/fmt/colors.ts";
export { writeAll } from "https://deno.land/std@0.189.0/streams/write_all.ts";
2 changes: 1 addition & 1 deletion dev_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export {
assert,
assertEquals,
assertRejects,
} from "https://deno.land/std@0.187.0/testing/asserts.ts";
} from "https://deno.land/std@0.189.0/testing/asserts.ts";

0 comments on commit b71c536

Please sign in to comment.