@@ -10,22 +10,24 @@ jobs:
1010 build :
1111 strategy :
1212 fail-fast : false
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414 steps :
1515 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16- - uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
16+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1717 with :
1818 path : ~/.local/share/pnpm/store
1919 key : build-${{ hashFiles('**/package.json') }}
20- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
20+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
2121 with :
2222 node-version : 24
23- - run : corepack pnpm install
23+ - run : |
24+ npm install -g corepack
25+ corepack pnpm install
2426 env:
2527 PUPPETEER_SKIP_DOWNLOAD: true
2628 - run : corepack pnpm build
2729 - run : corepack pnpm lint
28- - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
30+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
2931 with :
3032 name : build-lib
3133 path : pkg/*/lib/
@@ -35,33 +37,35 @@ jobs:
3537 strategy :
3638 matrix :
3739 include :
38- - node : 25
40+ - node : 26
3941 test : test
4042 - node : 24
4143 test : cover
4244 fail-fast : false
4345 name : unittest (${{ matrix.node }})
44- runs-on : ubuntu-22 .04
46+ runs-on : ubuntu-24 .04
4547 steps :
4648 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
47- - uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
49+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4850 with :
4951 path : ~/.local/share/pnpm/store
5052 key : unittest-${{ matrix.node }}-${{ hashFiles('**/package.json') }}
51- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
53+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
5254 with :
5355 node-version : ${{ matrix.node }}
5456 - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5557 with :
5658 python-version : ' 3.12'
5759 - name : Install dependencies
5860 run : |
59- echo "deb [arch=amd64 trusted=yes] https://nfd-nightly-apt.ndn.today/ubuntu jammy main" \
61+ echo "deb [arch=amd64 trusted=yes] https://nfd-nightly-apt.ndn.today/ubuntu noble main" \
6062 | sudo tee /etc/apt/sources.list.d/nfd-nightly.list
6163 sudo apt-get update
6264 sudo apt-get install --no-install-recommends ndnsec
6365 pip install git+https://github.com/UCLA-IRL/ndn-python-repo@991ed9de02add3c1aea9994da573da9ae3ce7c67
64- - run : corepack pnpm install
66+ - run : |
67+ npm install -g corepack
68+ corepack pnpm install
6569 env:
6670 PUPPETEER_SKIP_DOWNLOAD: true
6771 - run : corepack pnpm ${{ matrix.test }}
@@ -74,27 +78,29 @@ jobs:
7478 integ :
7579 strategy :
7680 fail-fast : false
77- runs-on : ubuntu-22 .04
81+ runs-on : ubuntu-24 .04
7882 steps :
7983 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
80- - uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
84+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
8185 with :
8286 path : |
8387 ~/.local/share/pnpm/store
8488 ~/.cache/puppeteer
8589 key : integ-${{ hashFiles('**/package.json') }}
86- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
90+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
8791 with :
8892 node-version : 24
8993 - name : Install dependencies
9094 run : |
91- echo "deb [arch=amd64 trusted=yes] https://nfd-nightly-apt.ndn.today/ubuntu jammy main" \
95+ echo "deb [arch=amd64 trusted=yes] https://nfd-nightly-apt.ndn.today/ubuntu noble main" \
9296 | sudo tee /etc/apt/sources.list.d/nfd-nightly.list
9397 sudo apt-get update
9498 sudo apt-get install --no-install-recommends clang-format-15 libndn-cxx-dev libpsync-dev nfd
9599 sudo cp /etc/ndn/nfd.conf.sample /etc/ndn/nfd.conf
96100 sudo systemctl restart nfd
97- - run : corepack pnpm install
101+ - run : |
102+ npm install -g corepack
103+ corepack pnpm install
98104 - run : corepack pnpm build
99105 - name : Check dependencies and devDependencies
100106 run : node mk/check-dep.mjs
@@ -111,20 +117,23 @@ jobs:
111117 publish :
112118 needs : [build, unittest, integ]
113119 if : ${{ github.repository == 'yoursunny/NDNts' && github.event_name == 'push' }}
114- runs-on : ubuntu-22 .04
120+ runs-on : ubuntu-24 .04
115121 steps :
116122 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
117- - uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
123+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
118124 with :
119125 path : ~/.local/share/pnpm/store
120126 key : publish-${{ hashFiles('**/package.json') }}
121- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3 .0
127+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4 .0
122128 with :
123129 node-version : 24
130+ - run : |
131+ npm install -g corepack
132+ corepack pnpm install
124133 - run : corepack pnpm install
125134 env :
126135 PUPPETEER_SKIP_DOWNLOAD : true
127- - uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
136+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
128137 with :
129138 name : build-lib
130139 path : pkg/
0 commit comments