Skip to content

chore(deps): bump step-security/harden-runner from 2.8.1 to 2.9.1 #31

chore(deps): bump step-security/harden-runner from 2.8.1 to 2.9.1

chore(deps): bump step-security/harden-runner from 2.8.1 to 2.9.1 #31

Workflow file for this run

name: 'build-test'
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Use Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- run: npm install
# Pull this image so it will already be there for unit tests later.
- run: docker pull ubuntu:22.10
- run: npm run all
- name: Run a docker container
run: docker run --name=test-container ubuntu:22.10 /bin/sh -c '>&2 echo error1 && echo test message && >&2 echo error2'
- name: test
uses: ./