Skip to content

Bump the npm_and_yarn group with 2 updates #3685

Bump the npm_and_yarn group with 2 updates

Bump the npm_and_yarn group with 2 updates #3685

Workflow file for this run

name: Build and Test
on:
push:
branches:
- '**'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') || github.event_name == 'workflow_dispatch' }}
name: Build and test
strategy:
matrix:
node:
- { name: Current, version: current }
- { name: LTS, version: lts/* }
permissions:
contents: read
packages: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
nodejs.org:443
npm.pkg.github.com:443
objects.githubusercontent.com:443
pkg-npm.githubusercontent.com:443
registry.npmjs.org:443
- name: Check out the code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
submodules: true
- name: Build and test
uses: myrotvorets/composite-actions/build-test-nodejs@master
with:
node-version: ${{ matrix.node.version }}
registry-url: https://npm.pkg.github.com