Skip to content

Commit

Permalink
prepare package
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshanziya committed Jun 6, 2024
1 parent ec76849 commit bea80da
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

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

permissions:
contents: write
Expand All @@ -14,22 +14,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run all
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run all

- uses: stefanzweifel/git-auto-commit-action@v5
if: github.event_name != 'pull_request'
with:
commit_message: Add prepared script
commit_options: '--no-verify --signoff'
file_pattern: dist/
commit_user_name: github-actions
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: hw <github-actions[bot]@users.noreply.github.com>
push_options: ''
- uses: stefanzweifel/git-auto-commit-action@v5
if: github.event_name != 'pull_request'
with:
commit_message: Add prepared script
commit_options: '--no-verify --signoff'
file_pattern: dist/
commit_user_name: github-actions
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: hw <github-actions[bot]@users.noreply.github.com>
push_options: ''
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ __tests__/runner/*
.vscode
*.code-workspace

/dist
/badges
1 change: 0 additions & 1 deletion badges/coverage.svg

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "npm run package -- --watch",
"test": "npx jest",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package && npm run copy-extra",
"all": "npm run format:write && npm run lint && npm run test && npm run package && npm run copy-extra",
"copy-extra": "copyfiles known_hosts scripts/* dist"
},
"license": "MIT",
Expand Down

0 comments on commit bea80da

Please sign in to comment.