Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3b35e17
update dependencies
ethangardner Mar 13, 2026
2762520
update eligible deps to current patch release
ethangardner Mar 13, 2026
c9f5a6c
Merge pull request #168 from uswds/task/update-deps
annepetersen Mar 16, 2026
1e90b66
add workflow to do release
ethangardner Mar 19, 2026
c3c6046
update to match trusted publishing workflow docs on npm
ethangardner Mar 19, 2026
91d8a16
update cleanup
ethangardner Mar 19, 2026
de820fc
Merge pull request #172 from uswds/eg/171-create-publishing-release-flow
annepetersen Mar 19, 2026
45e0312
run npm audit and npm pack in workflow
ethangardner Mar 20, 2026
516b161
use jq. fail release if there are critical or high vulnerabilities.
ethangardner Mar 21, 2026
c079c4a
Merge pull request #173 from uswds/eg/171-update-publishing-release-flow
annepetersen Mar 23, 2026
82de0ad
Merge branch 'main' into task/sync-branches
ethangardner Mar 24, 2026
15ee675
Merge pull request #175 from uswds/task/sync-branches
annepetersen Mar 24, 2026
3bce8c2
Bump yaml from 1.10.2 to 1.10.3
dependabot[bot] Mar 25, 2026
5ecec54
Bump picomatch
dependabot[bot] Mar 26, 2026
cdc08a1
remove failing workflow
ethangardner Mar 27, 2026
15706d0
Merge pull request #178 from uswds/task/remove-failing-workflow
annepetersen Mar 27, 2026
ee05cef
pin dependencies for workflow
ethangardner Apr 3, 2026
35fe5a8
Merge pull request #179 from uswds/task/update-workflow
annepetersen Apr 6, 2026
02e49b4
Merge pull request #176 from uswds/dependabot/npm_and_yarn/yaml-1.10.3
ethangardner Apr 10, 2026
88c9750
Merge pull request #177 from uswds/dependabot/npm_and_yarn/multi-bf05…
ethangardner Apr 10, 2026
d6edc39
remove ie11
ethangardner Jun 22, 2026
40cb171
Merge pull request #182 from uswds/task/181-remove-ie11-support-from-…
ethangardner Jun 25, 2026
ba47dd6
Bump undici from 6.24.0 to 6.27.0
dependabot[bot] Jul 9, 2026
decf86d
Merge pull request #184 from uswds/dependabot/npm_and_yarn/undici-6.27.0
ethangardner Jul 9, 2026
99acea3
Bump postcss from 8.5.8 to 8.5.16
dependabot[bot] Jul 9, 2026
affe78c
Merge pull request #185 from uswds/dependabot/npm_and_yarn/postcss-8.…
ethangardner Jul 9, 2026
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
1 change: 0 additions & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Supported browsers
> 2%
last 2 versions
IE 11
not dead
16 changes: 0 additions & 16 deletions .github/workflows/add-to-project.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin v6.0.2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # pin v4.35.1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # pin v4.35.1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # pin v4.35.1
47 changes: 47 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Publish Package to npmjs

on:
push:
tags:
- "v*.*.*"

permissions:
id-token: write # Required for OIDC
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # pin v6.3.0
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Update npm version
run: npm install -g npm@latest # OIDC requires npm v11.5.1 or later
- run: npm ci
- name: Check for vulnerabilities
run: |
# Capture audit result (ignore exit code with || true)
AUDIT_RESULT=$(npm audit --json || true)
CRITICAL=$(echo $AUDIT_RESULT | jq '.metadata.vulnerabilities.critical // 0')
HIGH=$(echo $AUDIT_RESULT | jq '.metadata.vulnerabilities.high // 0')
TOTAL=$(echo $AUDIT_RESULT | jq '.metadata.vulnerabilities.total // 0')

if [ "$CRITICAL" -gt 0 ] || [ "$HIGH" -gt 0 ]; then
echo "Found $CRITICAL critical and $HIGH high severity vulnerabilities"
echo "Please review and fix these vulnerabilities"
exit 1
fi
echo "No critical or high severity vulnerabilities found. Total vulnerabilities: $TOTAL"
- name: Pack package
run: npm pack
- name: Upload pack artifact
if: ${{ !env.ACT }}
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # pin v7.0.0
with:
name: npm-pack
path: "*.tgz"
- run: npm publish
if: ${{ !env.ACT }}
Loading
Loading