|
39933
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test yarn 3 (Node 22, macos-latest)
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-yarn3-depencies-caching:
name: Test yarn 3 (Node 22, macos-latest)
runs-on: macos-latest
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Update yarn
run: yarn set version 3.6.4
- name: Yarn version
run: yarn --version
- name: Generate simple .yarnrc.yml
run: |
echo "nodeLinker: node-modules" >> .yarnrc.yml
- name: Generate yarn file
run: yarn install
- name: Remove dependencies
run: Remove-Item node_modules -Force -Recurse
shell: pwsh
- name: Clean global cache
run: yarn cache clean --all
- name: Setup Node
uses: ./
with:
cache: yarn
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22
os:
- macos-latest
...
|
node-yarn3-depencies-caching
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39937
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test yarn 3 (Node 24, macos-latest)
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-yarn3-depencies-caching:
name: Test yarn 3 (Node 24, macos-latest)
runs-on: macos-latest
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Update yarn
run: yarn set version 3.6.4
- name: Yarn version
run: yarn --version
- name: Generate simple .yarnrc.yml
run: |
echo "nodeLinker: node-modules" >> .yarnrc.yml
- name: Generate yarn file
run: yarn install
- name: Remove dependencies
run: Remove-Item node_modules -Force -Recurse
shell: pwsh
- name: Clean global cache
run: yarn cache clean --all
- name: Setup Node
uses: ./
with:
cache: yarn
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24
os:
- macos-latest
...
|
node-yarn3-depencies-caching
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39941
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test yarn 3 (Node 26, macos-latest)
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-yarn3-depencies-caching:
name: Test yarn 3 (Node 26, macos-latest)
runs-on: macos-latest
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Update yarn
run: yarn set version 3.6.4
- name: Yarn version
run: yarn --version
- name: Generate simple .yarnrc.yml
run: |
echo "nodeLinker: node-modules" >> .yarnrc.yml
- name: Generate yarn file
run: yarn install
- name: Remove dependencies
run: Remove-Item node_modules -Force -Recurse
shell: pwsh
- name: Clean global cache
run: yarn cache clean --all
- name: Setup Node
uses: ./
with:
cache: yarn
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26
os:
- macos-latest
...
|
node-yarn3-depencies-caching
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39957
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test auto cache with top-level packageManager (22, Test auto cache with top-level packageManager (22, macos-latest)...
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-packageManager-auto-cache:
name: Test auto cache with top-level packageManager (22, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Create package.json with packageManager field
run: |
echo '{ "name": "test-project", "version": "1.0.0", "packageManager": "npm@8.0.0" }' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22
os:
- macos-latest
...
|
node-npm-packageManager-auto-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39961
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test auto cache with top-level packageManager (24, Test auto cache with top-level packageManager (24, macos-latest)...
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-packageManager-auto-cache:
name: Test auto cache with top-level packageManager (24, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Create package.json with packageManager field
run: |
echo '{ "name": "test-project", "version": "1.0.0", "packageManager": "npm@8.0.0" }' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24
os:
- macos-latest
...
|
node-npm-packageManager-auto-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39965
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test auto cache with top-level packageManager (26, Test auto cache with top-level packageManager (26, macos-latest)...
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-packageManager-auto-cache:
name: Test auto cache with top-level packageManager (26, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Create package.json with packageManager field
run: |
echo '{ "name": "test-project", "version": "1.0.0", "packageManager": "npm@8.0.0" }' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26
os:
- macos-latest
...
|
node-npm-packageManager-auto-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39969
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test auto cache with devEngines.packageManager (22 Test auto cache with devEngines.packageManager (22, macos-latest)...
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-devEngines-auto-cache:
name: Test auto cache with devEngines.packageManager (22, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Create package.json with devEngines field
run: |
echo '{
"name": "test-project",
"version": "1.0.0",
"devEngines": {
"packageManager": {
"name": "npm",
"onFail": "error"
}
}
}' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22
os:
- macos-latest
...
|
node-npm-devEngines-auto-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950476
|
|
0
|
|
0
|
Edit
Delete
|
|
39973
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test auto cache with devEngines.packageManager (24 Test auto cache with devEngines.packageManager (24, macos-latest)...
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-devEngines-auto-cache:
name: Test auto cache with devEngines.packageManager (24, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Create package.json with devEngines field
run: |
echo '{
"name": "test-project",
"version": "1.0.0",
"devEngines": {
"packageManager": {
"name": "npm",
"onFail": "error"
}
}
}' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24
os:
- macos-latest
...
|
node-npm-devEngines-auto-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
39977
|
25665
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
Test auto cache with devEngines.packageManager (26 Test auto cache with devEngines.packageManager (26, macos-latest)...
|
0
|
name: e2e-cache
"on":
pull_request:
name: e2e-cache
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-devEngines-auto-cache:
name: Test auto cache with devEngines.packageManager (26, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Create package.json with devEngines field
run: |
echo '{
"name": "test-project",
"version": "1.0.0",
"devEngines": {
"packageManager": {
"name": "npm",
"onFail": "error"
}
}
}' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26
os:
- macos-latest
...
|
node-npm-devEngines-auto-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844715
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
39984
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
local-cache (22, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
local-cache:
name: local-cache (22, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22
os:
- macos-latest
...
|
local-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
39988
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
local-cache (24, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
local-cache:
name: local-cache (24, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24
os:
- macos-latest
...
|
local-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
39992
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
local-cache (26, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
local-cache:
name: local-cache (26, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26
os:
- macos-latest
...
|
local-cache
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
40002
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
v8-canary-syntax (26-v8-canary, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
v8-canary-syntax:
name: v8-canary-syntax (26-v8-canary, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
canaryVersion="${{ matrix.node-version }}"
majorVersion=$(echo $canaryVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26-v8-canary
os:
- macos-latest
...
|
v8-canary-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
40006
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
v8-canary-syntax (26.0.0-v8-canary, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
v8-canary-syntax:
name: v8-canary-syntax (26.0.0-v8-canary, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
canaryVersion="${{ matrix.node-version }}"
majorVersion=$(echo $canaryVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26.0.0-v8-canary
os:
- macos-latest
...
|
v8-canary-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950477
|
|
0
|
|
0
|
Edit
Delete
|
|
40010
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
v8-canary-syntax (26.0.0-v8-canary20251016054584e5 v8-canary-syntax (26.0.0-v8-canary20251016054584e5cf, macos-latest)...
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
v8-canary-syntax:
name: v8-canary-syntax (26.0.0-v8-canary20251016054584e5cf, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
canaryVersion="${{ matrix.node-version }}"
majorVersion=$(echo $canaryVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26.0.0-v8-canary20251016054584e5cf
os:
- macos-latest
...
|
v8-canary-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40014
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
nightly-syntax (24.0.0-nightly, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
nightly-syntax:
name: nightly-syntax (24.0.0-nightly, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
nightlyVersion="${{ matrix.node-version }}"
majorVersion=$(echo $nightlyVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24.0.0-nightly
os:
- macos-latest
...
|
nightly-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40018
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
nightly-syntax (25-nightly, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
nightly-syntax:
name: nightly-syntax (25-nightly, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
nightlyVersion="${{ matrix.node-version }}"
majorVersion=$(echo $nightlyVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 25-nightly
os:
- macos-latest
...
|
nightly-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40022
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
nightly-syntax (26-nightly, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
nightly-syntax:
name: nightly-syntax (26-nightly, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
nightlyVersion="${{ matrix.node-version }}"
majorVersion=$(echo $nightlyVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26-nightly
os:
- macos-latest
...
|
nightly-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40026
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
rc-syntax (22.14.0-rc.1, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
rc-syntax:
name: rc-syntax (22.14.0-rc.1, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
rcVersion="${{ matrix.node-version }}"
majorVersion=$(echo $rcVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22.14.0-rc.1
os:
- macos-latest
...
|
rc-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40030
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
rc-syntax (24.0.0-rc.4, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
rc-syntax:
name: rc-syntax (24.0.0-rc.4, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
rcVersion="${{ matrix.node-version }}"
majorVersion=$(echo $rcVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24.0.0-rc.4
os:
- macos-latest
...
|
rc-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40034
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
rc-syntax (26.0.0-rc.1, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
rc-syntax:
name: rc-syntax (26.0.0-rc.1, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: |
rcVersion="${{ matrix.node-version }}"
majorVersion=$(echo $rcVersion | cut -d- -f1)
__tests__/verify-node.sh "$majorVersion"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26.0.0-rc.1
os:
- macos-latest
...
|
rc-syntax
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40038
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
manifest (22.0.0, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
manifest:
name: manifest (22.0.0, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22.0.0
os:
- macos-latest
...
|
manifest
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40042
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
manifest (24.9.0, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
manifest:
name: manifest (24.9.0, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24.9.0
os:
- macos-latest
...
|
manifest
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950478
|
|
0
|
|
0
|
Edit
Delete
|
|
40046
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
manifest (26.5.0, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
manifest:
name: manifest (26.5.0, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26.5.0
os:
- macos-latest
...
|
manifest
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40050
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
check-latest (22, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
check-latest:
name: check-latest (22, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node and check latest
uses: ./
with:
check-latest: "true"
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 22
os:
- macos-latest
...
|
check-latest
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40054
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
check-latest (24, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
check-latest:
name: check-latest (24, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node and check latest
uses: ./
with:
check-latest: "true"
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 24
os:
- macos-latest
...
|
check-latest
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40058
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
check-latest (26, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
check-latest:
name: check-latest (26, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node and check latest
uses: ./
with:
check-latest: "true"
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 26
os:
- macos-latest
...
|
check-latest
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40062
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file (.nvmrc, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file:
name: version-file (.nvmrc, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/${{ matrix.node-version-file }}
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
node-version-file:
- .nvmrc
os:
- macos-latest
...
|
version-file
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40066
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file (.tool-versions, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file:
name: version-file (.tool-versions, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/${{ matrix.node-version-file }}
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
node-version-file:
- .tool-versions
os:
- macos-latest
...
|
version-file
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40070
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file (.tool-versions-node, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file:
name: version-file (.tool-versions-node, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/${{ matrix.node-version-file }}
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
node-version-file:
- .tool-versions-node
os:
- macos-latest
...
|
version-file
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40074
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file (mise.toml, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file:
name: version-file (mise.toml, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/${{ matrix.node-version-file }}
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
node-version-file:
- mise.toml
os:
- macos-latest
...
|
version-file
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40078
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file (package.json, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file:
name: version-file (package.json, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/${{ matrix.node-version-file }}
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
node-version-file:
- package.json
os:
- macos-latest
...
|
version-file
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950479
|
|
0
|
|
0
|
Edit
Delete
|
|
40081
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file-dev-engines (macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file-dev-engines:
name: version-file-dev-engines (macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/package-dev-engines.json
- name: Verify node
run: __tests__/verify-node.sh 26
strategy:
fail-fast: "false"
matrix:
os:
- macos-latest
...
|
version-file-dev-engines
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40085
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file-volta (macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file-volta:
name: version-file-volta (macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/package-volta.json
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
os:
- macos-latest
...
|
version-file-volta
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40089
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
version-file-volta-extends (macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
version-file-volta-extends:
name: version-file-volta-extends (macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup node from node version file
uses: ./
with:
node-version-file: __tests__/data/package-volta-extends.json
- name: Verify node
run: __tests__/verify-node.sh 24
strategy:
fail-fast: "false"
matrix:
os:
- macos-latest
...
|
version-file-volta-extends
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40093
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
node-dist (21, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-dist:
name: node-dist (21, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node from dist
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 21
os:
- macos-latest
...
|
node-dist
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40097
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
node-dist (23, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-dist:
name: node-dist (23, macos-latest)
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node from dist
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
strategy:
fail-fast: "false"
matrix:
node-version:
- 23
os:
- macos-latest
...
|
node-dist
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40105
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
node-latest-aliases (current, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-latest-aliases:
name: node-latest-aliases (current, macos-latest)
runs-on: macos-latest
steps:
- id: version
name: Get node version
run: |
latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- id: updatedVersion
name: Retrieve version after install
run: |
updatedVersion=$(echo $(node --version))
echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
shell: bash
- if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
name: Compare versions
run: |
echo "Latest node version failed to download."
exit 1
strategy:
fail-fast: "false"
matrix:
node-version:
- current
os:
- macos-latest
...
|
node-latest-aliases
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40109
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
node-latest-aliases (latest, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-latest-aliases:
name: node-latest-aliases (latest, macos-latest)
runs-on: macos-latest
steps:
- id: version
name: Get node version
run: |
latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- id: updatedVersion
name: Retrieve version after install
run: |
updatedVersion=$(echo $(node --version))
echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
shell: bash
- if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
name: Compare versions
run: |
echo "Latest node version failed to download."
exit 1
strategy:
fail-fast: "false"
matrix:
node-version:
- latest
os:
- macos-latest
...
|
node-latest-aliases
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40113
|
25668
|
137
|
5
|
949feb2413d6458794dcd2491c4babbbce0c15c1
|
0
|
node-latest-aliases (node, macos-latest)
|
0
|
name: versions
"on":
pull_request:
name: versions
"on":
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-latest-aliases:
name: node-latest-aliases (node, macos-latest)
runs-on: macos-latest
steps:
- id: version
name: Get node version
run: |
latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version')
echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
- id: updatedVersion
name: Retrieve version after install
run: |
updatedVersion=$(echo $(node --version))
echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT
shell: bash
- if: ${{ steps.version.outputs.LATEST_NODE_VERSION != steps.updatedVersion.outputs.NODE_VERSION_UPDATED}}
name: Compare versions
run: |
echo "Latest node version failed to download."
exit 1
strategy:
fail-fast: "false"
matrix:
node-version:
- node
os:
- macos-latest
...
|
node-latest-aliases
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844717
|
1791950480
|
|
0
|
|
0
|
Edit
Delete
|
|
40151
|
25694
|
139
|
5
|
cbed621e49e4c01b044d60f6c80ea4ed6328b281
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844739
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40154
|
25695
|
139
|
5
|
1de1dea89c32dcb1f37183c96fe85cfe067b682a
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Verify successful download
run: |
$file = "some/new/path/file-A.txt"
if(!(Test-Path -path $file))
{
Write-Error "Expected file does not exist"
}
if(!((Get-Content $file) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifact are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844739
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40158
|
25697
|
139
|
5
|
1ac47ba4b6af92e65d0438b64ce1ea49ce1cc48d
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Verify successful download
run: |
$file = "some/new/path/file-A.txt"
if(!(Test-Path -path $file))
{
Write-Error "Expected file does not exist"
}
if(!((Get-Content $file) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifact are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844740
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40161
|
25698
|
139
|
5
|
3be87be14a055c47b01d3bd88f8fe02320a9bb60
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844740
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40165
|
25700
|
139
|
5
|
381af06b4268a1e0ad7b7c7e5a09f1894977120f
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844740
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40169
|
25702
|
139
|
5
|
80d2d4023c185001eacb50e37afd7dd667ba8044
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844740
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40173
|
25704
|
139
|
5
|
b3cedea9bed36890c824f4065163b667eeca272b
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844741
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40177
|
25706
|
139
|
5
|
c3f5d00c8784369c43779f3d2611769594a61f7a
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844741
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40181
|
25708
|
139
|
5
|
f8e41fbffeebb48c0273438d220bb2387727471f
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844741
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|
|
40185
|
25710
|
139
|
5
|
f144d3c3916a86f4d6b11ff379d17a49d8f85dbc
|
0
|
Build (macos-latest)
|
0
|
name: Test
"on":
push:
paths-i name: Test
"on":
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Build (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Compile
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run format-check
- name: Create artifacts
run: |
mkdir -p path/to/artifact-A
mkdir -p path/to/artifact-B
echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt
echo "Hello world from file B" > path/to/artifact-B/file-B.txt
- name: Upload artifact A
uses: actions/upload-artifact@v1
with:
name: Artifact-A
path: path/to/artifact-A
- name: Upload artifact B
uses: actions/upload-artifact@v1
with:
name: Artifact-B
path: path/to/artifact-B
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: some/new/path
- name: Download artifact A
uses: ./
with:
name: Artifact-A
path: ~/some/path/with/a/tilde
- name: Verify successful download
run: |
$file1 = "some/new/path/file-A.txt"
$file2 = "~/some/path/with/a/tilde/file-A.txt"
if(!(Test-Path -path $file1) -or !(Test-Path -path $file2))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $file1) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $file2) -ceq "Lorem ipsum dolor sit amet"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
- name: Download all Artifacts
uses: ./
with:
path: some/other/path
- name: Verify successful download
run: |
$fileA = "some/other/path/Artifact-A/file-A.txt"
$fileB = "some/other/path/Artifact-B/file-B.txt"
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
{
Write-Error "Expected files do not exist"
}
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
{
Write-Error "File contents of downloaded artifacts are incorrect"
}
shell: pwsh
strategy:
fail-fast: "false"
matrix:
runs-on:
- macos-latest
...
|
build
|
null
|
["macos-latest"]
|
0
|
3
|
0
|
1791950475
|
1791844742
|
1791950481
|
|
0
|
|
0
|
Edit
Delete
|