Skip to content

Bump lodash from 4.17.21 to 4.17.23 (#381) #688

Bump lodash from 4.17.21 to 4.17.23 (#381)

Bump lodash from 4.17.21 to 4.17.23 (#381) #688

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish-to-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
persist-credentials: false
- name: Cache dependencies
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-
${{ runner.OS }}-
- name: Setup Node.js environment
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm ci
- name: Lint code
run: npm run lint
- name: Typescript
run: npm run tsc
- name: Build
run: npm run build
- name: Run tests
run: npm run test
- name: Publish to npm
run: npm run publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}