Files
setup-node/.github/workflows/e2e-cache.yml
Dmitry Shibanov 7c12f8017d
Some checks are pending
build-test / build (macos-latest) (push) Waiting to run
build-test / build (ubuntu-latest) (push) Waiting to run
build-test / build (windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 12, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 12, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 12, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 14, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 14, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 14, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 16, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 16, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 16, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 12, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 12, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 12, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 14, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 14, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 14, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 16, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 16, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 16, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 16, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 16, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 12, macos-latest) (push) Waiting to run
versions / lts-syntax (lts/*, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, macos-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/erbium, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, macos-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, ubuntu-latest) (push) Waiting to run
versions / manifest (12.16.0, windows-latest) (push) Waiting to run
versions / manifest (14.2.0, macos-latest) (push) Waiting to run
versions / manifest (16.3.0, macos-latest) (push) Waiting to run
versions / manifest (16.3.0, ubuntu-latest) (push) Waiting to run
versions / manifest (16.3.0, windows-latest) (push) Waiting to run
versions / check-latest (10, macos-latest) (push) Waiting to run
versions / check-latest (10, ubuntu-latest) (push) Waiting to run
versions / version-file (macos-latest) (push) Waiting to run
versions / version-file (ubuntu-latest) (push) Waiting to run
versions / version-file (windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 16, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 14, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 14, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 14, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 12, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 12, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 14, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 14, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 14, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 16, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 16, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 2 (Node 16, windows-latest) (push) Waiting to run
proxy / test-proxy (push) Waiting to run
proxy / test-bypass-proxy (push) Waiting to run
versions / lts-syntax (lts/erbium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/erbium, macos-latest) (push) Waiting to run
versions / local-cache (10, macos-latest) (push) Waiting to run
versions / local-cache (10, ubuntu-latest) (push) Waiting to run
versions / local-cache (10, windows-latest) (push) Waiting to run
versions / local-cache (12, macos-latest) (push) Waiting to run
versions / local-cache (12, ubuntu-latest) (push) Waiting to run
versions / local-cache (12, windows-latest) (push) Waiting to run
versions / arch (push) Waiting to run
versions / local-cache (14, macos-latest) (push) Waiting to run
versions / local-cache (14, ubuntu-latest) (push) Waiting to run
versions / local-cache (14, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/*, macos-latest) (push) Waiting to run
versions / lts-syntax (lts/*, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, windows-latest) (push) Waiting to run
versions / manifest (10.15, macos-latest) (push) Waiting to run
versions / manifest (10.15, ubuntu-latest) (push) Waiting to run
versions / manifest (10.15, windows-latest) (push) Waiting to run
versions / manifest (12.16.0, macos-latest) (push) Waiting to run
versions / manifest (12.16.0, ubuntu-latest) (push) Waiting to run
versions / manifest (14.2.0, ubuntu-latest) (push) Waiting to run
versions / manifest (14.2.0, windows-latest) (push) Waiting to run
versions / check-latest (10, windows-latest) (push) Waiting to run
versions / check-latest (12, macos-latest) (push) Waiting to run
versions / check-latest (12, ubuntu-latest) (push) Waiting to run
versions / check-latest (12, windows-latest) (push) Waiting to run
versions / check-latest (14, macos-latest) (push) Waiting to run
versions / check-latest (14, ubuntu-latest) (push) Waiting to run
versions / check-latest (14, windows-latest) (push) Waiting to run
versions / node-dist (11, macos-latest) (push) Waiting to run
versions / node-dist (11, ubuntu-latest) (push) Waiting to run
versions / node-dist (11, windows-latest) (push) Waiting to run
versions / node-dist (13, macos-latest) (push) Waiting to run
versions / node-dist (13, ubuntu-latest) (push) Waiting to run
versions / node-dist (13, windows-latest) (push) Waiting to run
versions / old-versions (macos-latest) (push) Waiting to run
versions / old-versions (ubuntu-latest) (push) Waiting to run
versions / old-versions (windows-latest) (push) Waiting to run
Update actions/core dependencies for releases/v2 (#713)
2023-03-27 13:36:04 +02:00

137 lines
3.9 KiB
YAML

name: e2e-cache
on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
jobs:
node-npm-depencies-caching:
name: Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
node-pnpm-depencies-caching:
name: Test pnpm (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 6.10.0
- name: Generate pnpm file
run: pnpm install
- name: Remove dependencies
shell: pwsh
run: Remove-Item node_modules -Force -Recurse
- name: Clean global cache
run: rm -rf ~/.pnpm-store
shell: bash
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Verify node and pnpm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
node-yarn1-depencies-caching:
name: Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14, 16]
steps:
- uses: actions/checkout@v2
- name: Yarn version
run: yarn --version
- name: Generate yarn file
run: yarn install
- name: Remove dependencies
shell: pwsh
run: Remove-Item node_modules -Force -Recurse
- name: Clean global cache
run: yarn cache clean
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
node-yarn2-depencies-caching:
name: Test yarn 2 (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- name: Update yarn
run: yarn set version berry
- 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
shell: pwsh
run: Remove-Item node_modules -Force -Recurse
- name: Clean global cache
run: yarn cache clean --all
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash