Skip to content

Commit

Permalink
Merge pull request #20 from cto-af/update-deps
Browse files Browse the repository at this point in the history
Update depdencies and workflows
  • Loading branch information
hildjj authored Sep 9, 2024
2 parents 96fdf73 + f9d5775 commit ae521fc
Show file tree
Hide file tree
Showing 21 changed files with 229 additions and 2,069 deletions.
21 changes: 21 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
*.cjs text eol=lf
*.css text eol=lf
*.csv text eol=lf
*.html text eol=lf
*.ico binary
*.jpg binary
*.js text eol=lf
*.json text eol=lf
*.map text eol=lf
*.mjs text eol=lf
*.mk text eol=lf
*.pdf binary
*.peg.js text eol=lf linguist-language=PEG.js
*.peggy text eol=lf linguist-language=PEG.js
*.pegjs text eol=lf linguist-language=PEG.js
*.png binary
*.rs text eol=lf
*.ts text eol=lf
*.tsv text eol=lf
*.tsx text eol=lf
Makefile text eol=lf
11 changes: 3 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Tests

on:
push:
branches:
- main
branches: [main]
pull_request:
branches:
- main
branches: [main]

jobs:
build:
Expand All @@ -28,11 +26,8 @@ jobs:
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Check coding standards
if: matrix.node-version == '20.x' && matrix.os == 'ubuntu-latest'
run: npm run lint
- name: Test
run: npm run test
run: npm run build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ jobs:
cache: pnpm
- run: pnpm i -r
- run: npm run build
- run: npm pkg delete devDependencies
- name: Rebuild pnpm-lock.yaml
run: pnpm i --no-frozen-lockfile
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: $\{{ secrets.GITHUB_TOKEN }}
publish_dir: docs
publish_branch: gh-pages
- run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.vscode/
coverage/
docs/
node_modules/
tools/*.txt
t.js
tools/*.txt
types/
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

85 changes: 0 additions & 85 deletions docs/assets/highlight.css

This file was deleted.

18 changes: 0 additions & 18 deletions docs/assets/icons.js

This file was deleted.

Loading

0 comments on commit ae521fc

Please sign in to comment.