Skip to content

Commit

Permalink
Part of OpenHistoricalMap/issues#786, dropping matrix strategy, upgra…
Browse files Browse the repository at this point in the history
…ding action versions.
  • Loading branch information
erictheise committed Jul 13, 2024
1 parent fd8a66e commit c1c27b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "20.x"
- run: corepack enable
- run: yarn install
- run: yarn test
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ohm.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ jobs:
permissions:
pages: write
contents: write
strategy:
matrix:
node-version: ["18.x", "20.x"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: "20.x"
- run: corepack enable
- run: yarn install
- run: yarn build
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ohm.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ on:

jobs:
test:
strategy:
matrix:
node-version: ["18.x", "20.x"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: "20.x"
- run: corepack enable
- run: yarn install
- run: yarn test
7 changes: 2 additions & 5 deletions .github/workflows/ohm.upstream-sync.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: OHM Upstream Sync

on:
push:
branches:
- main
schedule:
- cron: "20 5,17 * * *"
- cron: "34 12 * * *"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -37,7 +34,7 @@ jobs:
- name: List all branches
run: |
git branch --all | egrep 'main|master|sacrifice'
git branch --all | egrep 'main|master|sacrifice|candidate'
- name: Check out upstream master
env:
Expand Down

0 comments on commit c1c27b7

Please sign in to comment.