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 25, 2022
1 parent a3a2637 commit a34bd1a
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 33 deletions.
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
10 changes: 5 additions & 5 deletions .github/workflows/npm_downloads.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 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var ns = string;
// returns {...}
```

The namespace has the following sub-namespaces:
The namespace contains the following functions:

<!-- <toc pattern="*"> -->

Expand Down

0 comments on commit a34bd1a

Please sign in to comment.