Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:

- name: Install dependencies
shell: bash
run: npm ci
run: npm i

- name: Build package
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ runs:
uses: ./.github/actions/setup-node-npm
with:
node-version: ${{ inputs.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
shell: bash
run: npm ci --include=dev
run: npm i --include=dev

- name: Build package
if: inputs.require-build == 'true'
Expand Down
10 changes: 1 addition & 9 deletions .github/actions/setup-node-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ inputs:
description: The Node version to use
required: false
default: '22'
cache:
description: Enable npm caching
required: false
default: 'npm'
registry-url:
description: Registry URL for publishing
required: false

runs:
using: composite
Expand All @@ -22,8 +15,7 @@ runs:
uses: actions/setup-node@v6
with:
node-version: ${{ inputs.node-version }}
cache: ${{ inputs.cache }}
registry-url: ${{ inputs.registry-url }}
package-manager-cache: false

- name: Update npm to version 11
shell: bash
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:

check:

name: Check for Vulnerabilities
runs-on: ubuntu-latest

Expand All @@ -35,6 +33,9 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- name: Install dependencies
run: npm i

- uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # pin@1.0.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: npm
package-manager-cache: false

- name: Install dependencies
run: npm ci
run: npm i

- name: Run tests
run: npm run test:ci
Expand All @@ -73,10 +73,10 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
package-manager-cache: false

- name: Install dependencies
run: npm ci
run: npm i

- name: Run tests
run: npm run lint
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cypress.env.json

# dependencies
/node_modules
package-lock.json

# profiling files
chrome-profiler-events*.json
Expand Down
Loading
Loading