Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graham update name #64

Closed
wants to merge 18 commits into from
Closed
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .eslintrc.yml
100644 → 100755
Empty file.
Empty file modified .gitattributes
100644 → 100755
Empty file.
12 changes: 5 additions & 7 deletions .github/workflows/CI-CD.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -12,9 +12,6 @@ on:
tags-ignore:
- "*"

schedule:
- cron: "0 0 1 * *"

jobs:
test:
name: Node ${{ matrix.node }} on ${{ matrix.os }}
@@ -28,9 +25,7 @@ jobs:
- macos-latest
- windows-latest
node:
# - 10 - The library supports Node 10, but the tests don't
- 12
- 14
- 16

steps:
- name: Checkout source
@@ -66,7 +61,7 @@ jobs:
needs: test
steps:
- name: Let Coveralls know that all tests have finished
uses: coverallsapp/github-action@v1.1.0
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
@@ -77,13 +72,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: test
environment: npm

steps:
- name: Checkout source
uses: actions/checkout@v3

- name: Install Node
uses: actions/setup-node@v3
with:
version: 16

- name: Install dependencies
run: npm ci
3 changes: 3 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -29,6 +29,9 @@ nbproject
# Logs
/logs
*.log
.vscode
.vscode/*


# Runtime data
pids
Empty file modified .mocharc.yml
100644 → 100755
Empty file.
Empty file modified .nycrc.yml
100644 → 100755
Empty file.
Empty file modified .vscode/launch.json
100644 → 100755
Empty file.
Empty file modified .vscode/tasks.json
100644 → 100755
Empty file.
Empty file modified 404.md
100644 → 100755
Empty file.
Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
7 changes: 3 additions & 4 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ You can set any or all of the following input parameters:

## Output Variables

npm-publish exposes some output variables, which you can use in later steps of your workflow. To access the output variables, you'll need to set an `id` for the npm-publish step.
npm-publish writes env variables, which you can use in later steps of your workflow.

```yaml
steps:
@@ -86,9 +86,8 @@ steps:
with:
token: ${{ secrets.NPM_TOKEN }}

- if: steps.publish.outputs.type != 'none'
run: |
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
- run: |
echo "Version changed: ${{ env.old-version }} => ${{ env.version }}"
```

| Variable | Type | Description |
2 changes: 1 addition & 1 deletion _config.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
remote_theme: JS-DevTools/gh-pages-theme

title: NPM Publish
title: NPM Publish V2
logo: https://jstools.dev/img/logos/logo.png

author:
6 changes: 3 additions & 3 deletions action.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# GitHub Action
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions

name: NPM Publish
name: NPM Publish V2
description: Fast, easy publishing to NPM

author: James Messinger
author: James Messinger/ Bluecargo
branding:
color: blue
icon: package
@@ -56,5 +56,5 @@ outputs:
description: The version number that was previously published to NPM

runs:
using: node12
using: node16
main: dist/index.js
Empty file modified bin/npm-publish.js
100644 → 100755
Empty file.
Loading
Oops, something went wrong.