-
Notifications
You must be signed in to change notification settings - Fork 14
45 lines (38 loc) · 965 Bytes
/
Copy pathssh-agent-build.yaml
File metadata and controls
45 lines (38 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build ssh-agent
on:
push:
paths:
- .github/workflows/ssh-agent-build.yaml
- ssh-agent/**
pull_request:
paths:
- .github/workflows/ssh-agent-build.yaml
- ssh-agent/**
# Declare default permissions as read only.
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
- name: Install Node.js dependencies
run: |
pushd ssh-agent/
npm ci
popd
- name: Run linters
run: |
pushd ssh-agent/
npm run prettier
npm run eslint
popd
- name: Compile Node.js dependencies
run: |
pushd ssh-agent/
npm run compile
popd