mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
fix: remove redundant install steps from workflows
This commit is contained in:
14
.github/workflows/pr.yml
vendored
14
.github/workflows/pr.yml
vendored
@@ -17,7 +17,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Set up Node
|
||||
@@ -26,9 +25,6 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
run: yarn build
|
||||
|
||||
@@ -46,7 +42,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Set up Node
|
||||
@@ -55,10 +50,6 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn build
|
||||
@@ -80,7 +71,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Set up Node
|
||||
@@ -89,10 +79,6 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn build
|
||||
|
||||
15
.github/workflows/publish.yml
vendored
15
.github/workflows/publish.yml
vendored
@@ -17,7 +17,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Set up Node
|
||||
@@ -26,9 +25,6 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
run: yarn build
|
||||
|
||||
@@ -46,7 +42,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Set up Node
|
||||
@@ -55,10 +50,6 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn build
|
||||
@@ -80,7 +71,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Set up Node
|
||||
@@ -89,10 +79,6 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
if: steps.cache-build.outputs.cache-hit != 'true'
|
||||
run: yarn build
|
||||
@@ -130,7 +116,6 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
packages/**/dist
|
||||
.yarn/unplugged
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
|
||||
- name: Setup git config
|
||||
|
||||
Reference in New Issue
Block a user