From 3dda7f171bf68af54a516367e289b49b547b1774 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 09:11:10 -0400 Subject: [PATCH 1/8] Add .nvmrc --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..2ab3d4be --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v16.20.2 From 8bb2719b21e57693491460e18979fa435c55438f Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 09:11:20 -0400 Subject: [PATCH 2/8] Add verify workflow --- .github/workflows/verify.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/verify.yaml diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml new file mode 100644 index 00000000..150b103c --- /dev/null +++ b/.github/workflows/verify.yaml @@ -0,0 +1,13 @@ +name: Verify +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + - name: Test + run: npm test From 9d346490f71a97bda79cc8bc34390d66d2841230 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 09:16:57 -0400 Subject: [PATCH 3/8] fixup! Add verify workflow --- .github/workflows/verify.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 150b103c..e9e219cb 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -9,5 +9,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + with: + node-version-file: .nvmrc - name: Test run: npm test From 72b25a2c2008a69f3eb05e64640b11b56bf76ec2 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 09:20:14 -0400 Subject: [PATCH 4/8] fixup! Add verify workflow --- .github/workflows/verify.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index e9e219cb..d97ed74e 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -10,6 +10,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version-file: .nvmrc + node-version-file: '.nvmrc' + cache: 'npm' + - name: Install npm modules + run: npm ci - name: Test run: npm test From 2fb3357ed3b8cb1f130552431a6cd7db855f9769 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 10:49:22 -0400 Subject: [PATCH 5/8] Update caniuse --- package-lock.json | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 968ce01c..02c7aa63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4123,9 +4123,23 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001218", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001218.tgz", - "integrity": "sha512-0ASydOWSy3bB88FbDpJSTt+PfDwnMqrym3yRZfqG8EXSQ06OZhF+q5wgYP/EN+jJMERItNcDQUqMyNjzZ+r5+Q==" + "version": "1.0.30001605", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz", + "integrity": "sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] }, "node_modules/chai": { "version": "4.3.4", @@ -24102,9 +24116,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001218", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001218.tgz", - "integrity": "sha512-0ASydOWSy3bB88FbDpJSTt+PfDwnMqrym3yRZfqG8EXSQ06OZhF+q5wgYP/EN+jJMERItNcDQUqMyNjzZ+r5+Q==" + "version": "1.0.30001605", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz", + "integrity": "sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==" }, "chai": { "version": "4.3.4", From 790b32e5d0b32b0c722ee5031491119296c735b7 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 10:49:37 -0400 Subject: [PATCH 6/8] Add lint job --- .github/workflows/verify.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index d97ed74e..36a6a5f2 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -4,6 +4,18 @@ on: pull_request: jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + cache: 'npm' + # - name: Install npm modules + # run: npm ci + - name: Test + run: npm run lint test: runs-on: ubuntu-latest steps: From b09e1344cce6c11a14c5271b8e60a148f387617c Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 10:50:43 -0400 Subject: [PATCH 7/8] fixup! Add lint job --- .github/workflows/verify.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 36a6a5f2..ab8ede5e 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -12,9 +12,9 @@ jobs: with: node-version-file: '.nvmrc' cache: 'npm' - # - name: Install npm modules - # run: npm ci - - name: Test + - name: Install npm modules + run: npm ci + - name: Lint run: npm run lint test: runs-on: ubuntu-latest From 5ea7328bb88e912c5f8b3ca13e83f26c933220d4 Mon Sep 17 00:00:00 2001 From: Kevin McCormack Date: Thu, 4 Apr 2024 17:01:30 -0400 Subject: [PATCH 8/8] Add workflow_dispatch to verify workflow --- .github/workflows/verify.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index ab8ede5e..da0886eb 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -2,6 +2,7 @@ name: Verify on: push: pull_request: + workflow_dispatch: jobs: lint: