Abandon composite actions since they cannot actually compose on other actions

This commit is contained in:
Alexandru Dima
2020-12-11 21:40:29 +01:00
parent d1d4143971
commit e3e3f8802f
2 changed files with 20 additions and 30 deletions

View File

@@ -30,14 +30,12 @@ jobs:
path: '**/node_modules'
key: ${{ runner.os }}-cacheNodeModules-${{ hashFiles('.yarnrc', 'remote/.yarnrc', '**/yarn.lock', '!**/node_modules/**/yarn.lock', '!**/.*/**/yarn.lock') }}
restore-keys: ${{ runner.os }}-cacheNodeModules-
- name: Cache /build/ scripts
id: cacheBuildScripts
uses: actions/cache@v2
with:
path: build/**/*.js
key: ${{ runner.os }}-cacheBuildScripts-${{ hashFiles('build/yarn.lock', 'build/tsconfig.json', 'build/tsconfig.build.json', 'build/**/*.ts', '!**/node_modules/**/*.ts') }}
- name: Execute yarn
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' || steps.cacheBuildScripts.outputs.cache-hit != 'true' }}
env:
@@ -79,16 +77,16 @@ jobs:
path: '**/node_modules'
key: ${{ runner.os }}-cacheNodeModules-${{ hashFiles('.yarnrc', 'remote/.yarnrc', '**/yarn.lock', '!**/node_modules/**/yarn.lock', '!**/.*/**/yarn.lock') }}
restore-keys: ${{ runner.os }}-cacheNodeModules-
- name: Cache /build/ scripts
id: cacheBuildScripts
uses: actions/cache@v2
with:
path: build/**/*.js
key: ${{ runner.os }}-cacheBuildScripts-${{ hashFiles('build/yarn.lock', 'build/tsconfig.json', 'build/tsconfig.build.json', 'build/**/*.ts', '!**/node_modules/**/*.ts') }}
- name: Execute yarn
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' || steps.cacheBuildScripts.outputs.cache-hit != 'true' }}
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: yarn --frozen-lockfile
- name: Download Electron
@@ -189,8 +187,24 @@ jobs:
with:
node-version: 12
- name: Cached yarn
uses: ./.github/workflows/ci-cached-yarn
- name: Cache node modules
id: cacheNodeModules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-cacheNodeModules-${{ hashFiles('.yarnrc', 'remote/.yarnrc', '**/yarn.lock', '!**/node_modules/**/yarn.lock', '!**/.*/**/yarn.lock') }}
restore-keys: ${{ runner.os }}-cacheNodeModules-
- name: Cache /build/ scripts
id: cacheBuildScripts
uses: actions/cache@v2
with:
path: build/**/*.js
key: ${{ runner.os }}-cacheBuildScripts-${{ hashFiles('build/yarn.lock', 'build/tsconfig.json', 'build/tsconfig.build.json', 'build/**/*.ts', '!**/node_modules/**/*.ts') }}
- name: Execute yarn
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' || steps.cacheBuildScripts.outputs.cache-hit != 'true' }}
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: yarn --frozen-lockfile
- name: Run Monaco Editor Checks
run: yarn monaco-compile-check