Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Oct 22, 2022
1 parent 78a0de7 commit ea7a023
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 37 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

# Cancel existing workflow runs:
- name: 'Cancel existing workflow runs'
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.11.0
with:
workflow_id: >-
benchmark.yml,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run this workflow weekly:
schedule:
# cron: '<minutes> <hours> <day_of_month> <month> <day_of_week>'
- cron: '0 8 * * 6'
- cron: '23 23 * * 3'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand All @@ -50,7 +50,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand All @@ -60,7 +60,7 @@ jobs:
id: package_name
run: |
name=`node -e 'console.log(require("./package.json").name)' | tr -d '\n'`
echo "::set-output name=package_name::$name"
echo "package_name=$name" >> $GITHUB_OUTPUT
timeout-minutes: 5

# Fetch download data:
Expand All @@ -72,7 +72,7 @@ jobs:
data=$(curl "$url")
mkdir ./tmp
echo "$data" > ./tmp/npm_downloads.json
echo "::set-output name=data::$data"
echo "data=$data" >> $GITHUB_OUTPUT
timeout-minutes: 5

# Print summary of download data:
Expand All @@ -84,7 +84,7 @@ jobs:
# Upload the download data:
- name: 'Upload data'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
name: npm_downloads
Expand All @@ -99,7 +99,7 @@ jobs:

# Send data to events server:
- name: 'Post data'
uses: distributhor/workflow-webhook@v2
uses: distributhor/workflow-webhook@v3
env:
webhook_url: ${{ secrets.STDLIB_NPM_DOWNLOADS_URL }}
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -198,9 +198,9 @@ jobs:
git fetch --all
git ls-remote --exit-code --heads origin deno
if [ $? -eq 0 ]; then
echo "::set-output name=remote-exists::true"
echo "remote-exists=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=remote-exists::false"
echo "remote-exists=false" >> $GITHUB_OUTPUT
fi
# If `deno` exists, delete everything in branch and merge `production` into it
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -364,9 +364,9 @@ jobs:
git fetch --all
git ls-remote --exit-code --heads origin umd
if [ $? -eq 0 ]; then
echo "::set-output name=remote-exists::true"
echo "remote-exists=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=remote-exists::false"
echo "remote-exists=false" >> $GITHUB_OUTPUT
fi
# If `umd` exists, delete everything in branch and merge `production` into it
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
# Install Node.js
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand All @@ -417,7 +417,7 @@ jobs:
id: extract-alias
run: |
alias=$(grep -E 'require\(' README.md | head -n 1 | sed -E 's/^var ([a-zA-Z0-9_]+) = .+/\1/')
echo "::set-output name=alias::${alias}"
echo "alias=${alias}" >> $GITHUB_OUTPUT
# Create Universal Module Definition (UMD) Node.js bundle:
- name: 'Create Universal Module Definition (UMD) Node.js bundle'
Expand Down Expand Up @@ -528,9 +528,9 @@ jobs:
git fetch --all
git ls-remote --exit-code --heads origin esm
if [ $? -eq 0 ]; then
echo "::set-output name=remote-exists::true"
echo "remote-exists=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=remote-exists::false"
echo "remote-exists=false" >> $GITHUB_OUTPUT
fi
# If `esm` exists, delete everything in branch and merge `production` into it
Expand Down Expand Up @@ -572,7 +572,7 @@ jobs:
# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -695,10 +695,10 @@ jobs:
VERSION_CHANGE_PKG_JSON=$(git diff HEAD~1 HEAD package.json | grep '"version":')
if [ -z "$VERSION_CHANGE_PKG_JSON" ]; then
echo "This workflow was not triggered by a version bump."
echo "::set-output name=bump::false"
echo "bump=false" >> $GITHUB_OUTPUT
else
echo "This workflow was triggered by a version bump."
echo "::set-output name=bump::true"
echo "bump=true" >> $GITHUB_OUTPUT
fi
# Configure git:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

# Cancel any running or queued workflow runs:
- name: 'Cancel running or queued workflow runs'
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.11.0
with:
workflow_id: >-
benchmark.yml,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run workflow on a weekly schedule:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
- cron: '23 23 * * 3'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 17

Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 17

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down Expand Up @@ -88,11 +88,11 @@ jobs:
id: extract-coverage
run: |
coverage=`cat reports/coverage/lcov-report/index.html | grep "fraction" | grep -oP '\d+/\d+' | printf %s "$(cat)" | jq -R -s -c 'split("\n")'`
echo "::set-output name=coverage::$coverage"
echo "coverage=$coverage" >> $GITHUB_OUTPUT
# Format coverage as Markdown table row:
table=`echo $coverage | sed -e 's/,/|/g; s/"/ /g; s/\[/|/; s/\]/|/'`
echo "::set-output name=table::$table"
echo "table=$table" >> $GITHUB_OUTPUT
# Print coverage report to GitHub Actions log:
- name: 'Print coverage report to GitHub Actions log'
Expand All @@ -115,7 +115,7 @@ jobs:

# Send data to events server:
- name: 'Post data'
uses: distributhor/workflow-webhook@v2
uses: distributhor/workflow-webhook@v3
env:
webhook_url: ${{ secrets.STDLIB_COVERAGE_URL }}
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run workflow on a weekly schedule:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
- cron: '23 23 * * 3'

# Run workflow upon completion of `publish` workflow run:
workflow_run:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

# Install Node.js:
- name: 'Install Node.js'
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
timeout-minutes: 5
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Milan Raj <[email protected]>
Momtchil Momtchev <[email protected]>
Ognjen Jevremović <[email protected]>
Philipp Burckhardt <[email protected]>
Pranav <[email protected]>
Ricky Reusser <[email protected]>
Ryan Seal <[email protected]>
Seyyed Parsa Neshaei <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ tape( 'the function returns `false` if not provided a `URIError` object', functi
function noop() {},
function error() {},
new Date(),
new RegExp( '.*' ),
new RegExp( '.*' ), // eslint-disable-line prefer-regex-literals
new Error( 'error' ),
new EvalError( 'eval error' ),
new ReferenceError( 'reference error' ),
Expand Down

0 comments on commit ea7a023

Please sign in to comment.