Merge pull request #17612 from backstage/rugvip/wf18

workflows: remove matrices and switch to 18
This commit is contained in:
Patrik Oldsberg
2023-05-02 14:15:03 +02:00
committed by GitHub
6 changed files with 10 additions and 34 deletions
+2 -6
View File
@@ -8,10 +8,6 @@ jobs:
deploy-microsite-and-storybook:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=8192
@@ -20,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: use node.js ${{ matrix.node-version }}
- name: use node.js 18.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
registry-url: https://registry.npmjs.org/ # Needed for auth
# We avoid caching in this workflow, as we're running an install of both the top-level
+3 -7
View File
@@ -9,10 +9,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
@@ -20,15 +16,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: use node.js ${{ matrix.node-version }}
- name: use node.js 18.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@v0.6.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
cache-prefix: ${{ runner.os }}-v18.x
# No verification done here, only build & publish. If the master branch
# is broken we will see that from those builds, but we still want to push nightly
@@ -10,22 +10,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: use node.js ${{ matrix.node-version }}
- name: use node.js 18.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
registry-url: https://registry.npmjs.org/ # Needed for auth
- name: yarn install
uses: backstage/actions/yarn-install@v0.6.3
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
cache-prefix: ${{ runner.os }}-v18.x
- name: Create Snyk report
uses: snyk/actions/node@master
@@ -13,10 +13,6 @@ jobs:
noop:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
name: Microsite
steps:
- run: echo NOOP
+2 -6
View File
@@ -11,10 +11,6 @@ jobs:
build-microsite:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=8192
@@ -24,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: use node.js ${{ matrix.node-version }}
- name: use node.js 18.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
# Skip caching of microsite dependencies, it keeps the global cache size
# smaller, which make Windows builds a lot faster for the rest of the project.
@@ -22,10 +22,6 @@ jobs:
noop:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
name: Storybook
steps:
- run: echo NOOP