Skip to content

Commit c29cb50

Browse files
committed
chore: CI updates / optimizations
1 parent a857178 commit c29cb50

File tree

5 files changed

+51
-17
lines changed

5 files changed

+51
-17
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,37 @@
1-
name: Node.js CI
1+
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
paths-ignore:
6+
- '*.md'
7+
- '*.nix'
8+
- '.all-contributorsrc'
9+
- '.vscode/**'
10+
- 'Dockerfile'
11+
- 'LICENSE'
12+
- 'compose.yml'
13+
pull_request:
14+
paths-ignore:
15+
- '*.md'
16+
- '*.nix'
17+
- '.all-contributorsrc'
18+
- '.vscode/**'
19+
- 'Dockerfile'
20+
- 'LICENSE'
21+
- 'compose.yml'
422

523
jobs:
624
build:
725
runs-on: ubuntu-latest
826

927
steps:
1028
- name: Checkout repo under GH workspace
11-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
1230

1331
- name: Use nodejs
14-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
1533
with:
16-
node-version: '18'
34+
node-version: '20'
1735
cache: 'npm'
1836

1937
- name: Install deps without updating package-lock.json

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-bullseye-slim
1+
FROM node:20-bullseye-slim
22

33
USER node
44

File renamed without changes.

flake.lock

Lines changed: 25 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
flake-parts.inputs.nixpkgs.follows = "nixpkgs";
99
};
1010

11-
outputs = { self, flake-parts, ... }:
12-
flake-parts.lib.mkFlake { inherit self; } {
11+
outputs = inputs@{ self, flake-parts, ... }:
12+
flake-parts.lib.mkFlake { inherit inputs; } {
1313
systems = [ "x86_64-linux" "aarch64-darwin" ];
1414
perSystem = { config, self', inputs', pkgs, system, ... }: {
1515
devShells.default = import ./shell.nix { inherit pkgs; };

0 commit comments

Comments
 (0)