Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from matthiasrohmer/test/workflows
Browse files Browse the repository at this point in the history
chore: require at least node v16
  • Loading branch information
matthiasrohmer committed Oct 17, 2022
2 parents 8a42a78 + 9547288 commit 2864b42
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,4 @@ jobs:
with:
name: dist-${{ github.run_id }}
path: dist
if-no-files-found: error

stage:
uses: ./.github/workflows/stage.yml
if-no-files-found: error
6 changes: 5 additions & 1 deletion .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: 'Stage'

on:
workflow_call:
workflow_dispatch:
inputs:
netlify:
type: boolean
Expand All @@ -16,7 +16,10 @@ on:
default: 0

jobs:
build:
uses: ./.github/workflows/build.yml
netlify:
needs: build
if: inputs.netlify == 1
runs-on: ubuntu-latest
steps:
Expand All @@ -29,6 +32,7 @@ jobs:
name: dist-${{ github.run_id }}
path: dist
app_engine:
needs: build
if: inputs.app_engine == 1
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "developer.chrome.com",
"version": "1.0.0",
"version": "1.0.1",
"description": "The source for developer.chrome.com",
"private": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"scripts": {
"algolia": "node ./algolia.js",
Expand Down

0 comments on commit 2864b42

Please sign in to comment.