Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .devcontainer/devcontainer.json

This file was deleted.

46 changes: 0 additions & 46 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

21 changes: 0 additions & 21 deletions .github/CONTRIBUTING.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/FUNDING.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

35 changes: 25 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,48 @@ on:
workflow_dispatch:
inputs:
upgrade:
description: Type of version upgrade (patch, minor, major)
description: Version action (patch, minor, major, or publish existing without bumping)
required: true
default: patch
type: choice
options:
- patch
- minor
- major
- existing

permissions:
contents: write
id-token: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 12
node-version: 24
registry-url: https://registry.npmjs.org/
package-manager-cache: false

- name: Setup git
if: inputs.upgrade != 'existing'
run: |-
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"

- run: npm version ${{ github.event.inputs.upgrade }}

- run: git push
- run: git push --tags
- name: Bump version
if: inputs.upgrade != 'existing'
run: npm version ${{ inputs.upgrade }}

- name: Push version
if: inputs.upgrade != 'existing'
run: |-
git push
git push --tags

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Prepare build
run: npm i -g pkg
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
node: [12, 14, 16]
node: [18, 20]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node }}
- name: npm install and test
Expand All @@ -30,17 +30,17 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 12
node-version: 20
- run: |
npm install
npm test
env:
CI: true
- name: Coveralls
if: success()
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
with:
github-token: ${{secrets.GITHUB_TOKEN}}
39 changes: 0 additions & 39 deletions Looking-for-contributor.md

This file was deleted.

Loading