source: imaps-frontend/node_modules/fast-uri/.github/workflows/ci.yml

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 1.3 KB
Line 
1name: CI
2
3on:
4 push:
5 branches:
6 - main
7 - master
8 - next
9 - 'v*'
10 paths-ignore:
11 - 'docs/**'
12 - '*.md'
13 pull_request:
14 paths-ignore:
15 - 'docs/**'
16 - '*.md'
17
18jobs:
19 test-regression-check-node10:
20 name: Test compatibility with Node.js 10
21 runs-on: ubuntu-latest
22 steps:
23 - uses: actions/checkout@v4
24 with:
25 persist-credentials: false
26
27 - uses: actions/setup-node@v4
28 with:
29 node-version: '10'
30 cache: 'npm'
31 cache-dependency-path: package.json
32 check-latest: true
33
34 - name: Install
35 run: |
36 npm install --ignore-scripts
37
38 - name: Copy project as fast-uri to node_node_modules
39 run: |
40 rm -rf ./node_modules/fast-uri/lib &&
41 rm -rf ./node_modules/fast-uri/index.js &&
42 cp -r ./lib ./node_modules/fast-uri/lib &&
43 cp ./index.js ./node_modules/fast-uri/index.js
44
45 - name: Run tests
46 run: |
47 npm run test:unit
48 env:
49 NODE_OPTIONS: no-network-family-autoselection
50
51 test:
52 needs:
53 - test-regression-check-node10
54 uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
55 with:
56 license-check: true
57 lint: true
58 node-versions: '["16", "18", "20", "22"]'
Note: See TracBrowser for help on using the repository browser.