Changeset 51341
- Timestamp:
- 07/06/2021 01:12:13 PM (3 years ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r50930 r51341 103 103 # - Logs debug information about the runner container. 104 104 # - Installs NodeJS 14. 105 # - Sets up caching for NPM.106 105 # - Logs updated debug information. 107 106 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. … … 127 126 128 127 - name: Install NodeJS 129 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5128 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 130 129 with: 131 130 node-version: 14 132 133 - name: Cache NodeJS modules 134 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 135 env: 136 cache-name: cache-node-modules 137 with: 138 # npm cache files are stored in `~/.npm` on Linux/macOS 139 path: ~/.npm 140 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 131 cache: npm 141 132 142 133 - name: Log debug information -
trunk/.github/workflows/end-to-end-tests.yml
r50930 r51341 38 38 # - Logs debug information about the runner container. 39 39 # - Installs NodeJS 14. 40 # - Sets up caching for NPM.41 40 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 42 41 # - Builds WordPress to run from the `build` directory. … … 74 73 75 74 - name: Install NodeJS 76 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.575 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 77 76 with: 78 77 node-version: 14 79 80 - name: Cache NodeJS modules 81 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 82 env: 83 cache-name: cache-node-modules 84 with: 85 # npm cache files are stored in `~/.npm` on Linux/macOS 86 path: ~/.npm 87 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 78 cache: npm 88 79 89 80 - name: Install Dependencies -
trunk/.github/workflows/javascript-tests.yml
r50930 r51341 47 47 # - Logs debug information about the runner container. 48 48 # - Installs NodeJS 14. 49 # - Sets up caching for NPM.50 49 # - Logs updated debug information. 51 50 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. … … 69 68 70 69 - name: Install NodeJS 71 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.570 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 72 71 with: 73 72 node-version: 14 74 75 - name: Cache NodeJS modules 76 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 77 env: 78 cache-name: cache-node-modules 79 with: 80 # npm cache files are stored in `~/.npm` on Linux/macOS 81 path: ~/.npm 82 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 73 cache: npm 83 74 84 75 - name: Log debug information -
trunk/.github/workflows/phpunit-tests.yml
r50930 r51341 44 44 # - Sets up the environment variables needed for testing with memcached (if desired). 45 45 # - Installs NodeJS 14. 46 # - Sets up caching for NPM.47 46 # - Installs NPM dependencies 48 47 # - Configures caching for Composer. … … 115 114 116 115 - name: Install NodeJS 117 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5116 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 118 117 with: 119 118 node-version: 14 120 121 - name: Use cached Node modules 122 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 123 env: 124 cache-name: cache-node-modules 125 with: 126 # npm cache files are stored in `~/.npm` on Linux/macOS 127 path: ~/.npm 128 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 119 cache: npm 129 120 130 121 - name: Install Dependencies -
trunk/.github/workflows/test-coverage.yml
r50595 r51341 35 35 # - Logs debug information about the runner container. 36 36 # - Installs NodeJS 14. 37 # - Sets up caching for NPM.38 37 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 39 38 # - Logs Docker debug information (about the Docker installation within the runner). … … 80 79 81 80 - name: Install NodeJS 82 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.581 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 83 82 with: 84 83 node-version: 14 85 86 - name: Cache NodeJS modules 87 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 88 env: 89 cache-name: cache-node-modules 90 with: 91 # npm cache files are stored in `~/.npm` on Linux/macOS 92 path: ~/.npm 93 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 84 cache: npm 94 85 95 86 - name: Install Dependencies -
trunk/.github/workflows/test-npm.yml
r50930 r51341 43 43 # - Logs debug information about the runner container. 44 44 # - Installs NodeJS 14. 45 # - Sets up caching for NPM.46 45 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 47 46 # - Builds WordPress to run from the `build` directory. … … 71 70 72 71 - name: Install NodeJS 73 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.572 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 74 73 with: 75 74 node-version: 14 76 77 - name: Cache NodeJS modules (Ubuntu & MacOS) 78 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 79 if: ${{ matrix.os != 'windows-latest' }} 80 with: 81 path: ~/.npm 82 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 83 84 - name: Get NPM cache directory (Windows only) 85 if: ${{ matrix.os == 'windows-latest' }} 86 id: npm-cache 87 run: echo "::set-output name=dir::$(npm config get cache)" 88 89 - name: Cache NodeJS modules (Windows only) 90 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 91 if: ${{ matrix.os == 'windows-latest' }} 92 with: 93 path: ${{ steps.npm-cache.outputs.dir }} 94 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 75 cache: npm 95 76 96 77 - name: Install Dependencies … … 117 98 # - Logs debug information about the runner container. 118 99 # - Installs NodeJS 14. 119 # - Sets up caching for NPM.120 100 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 121 101 # - Builds WordPress to run from the `build` directory. … … 140 120 141 121 - name: Install NodeJS 142 uses: actions/setup-node@ 46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5122 uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2 143 123 with: 144 124 node-version: 14 145 146 - name: Cache NodeJS modules 147 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 148 if: ${{ matrix.os != 'windows-latest' }} 149 with: 150 path: ~/.npm 151 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 125 cache: npm 152 126 153 127 - name: Install Dependencies
Note: See TracChangeset
for help on using the changeset viewer.