-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (24 loc) · 852 Bytes
/
setup-node-test.yml
File metadata and controls
30 lines (24 loc) · 852 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
name: Build and Deploy Test Version
on:
workflow_dispatch:
jobs:
build_deploy_24:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
# - uses: HarithaVattikuti/setup-node@Testnodefetch
# - uses : salmanmkc/setup-node@bump-actions-cache-v5
with:
node-version: 20
package-manager-cache: true
- name: Reproduce url.parse DeprecationWarning (Linux/macOS)
if: runner.os != 'Windows'
shell: bash
run: |
node --trace-deprecation -e "require('url').parse('https://example.com')"
- name: Reproduce url.parse DeprecationWarning (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
node --trace-deprecation -e "require('url').parse('https://example.com')"