Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

chore: Update workflows to use the latest Node (#2863)

Lipised0bec41dcf0
diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml
index 3fcdde198a..8ae0ea649d 100644
--- a/.github/workflows/build-docker.yml
+++ b/.github/workflows/build-docker.yml
@@ -6,7 +6,7 @@ on:
- master
jobs:
- build-docker:
+ build:
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml
index 92ab34f413..86936cbb2c 100644
--- a/.github/workflows/build-packages.yml
+++ b/.github/workflows/build-packages.yml
@@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: Setup Node.js 12.x
+ - name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
- node-version: 12.x
+ node-version: 14.x
- name: Install dependencies
run: |
diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml
index 19496c5bfd..1e2ed41b69 100644
--- a/.github/workflows/cancel.yml
+++ b/.github/workflows/cancel.yml
@@ -1,9 +1,11 @@
-name: Cancel
-on: [push]
+name: Cancel previous runs
+
+on: push
+
jobs:
cancel:
- name: "Cancel Previous Runs"
runs-on: ubuntu-latest
+
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1abc8bfd7a..a11350a4e6 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,10 +1,6 @@
name: Lint
-on:
- push:
- branches:
- - master
- pull_request:
+on: push
jobs:
lint:
@@ -13,10 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: Setup Node.js 12.x
+ - name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
- node-version: 12.x
+ node-version: 14.x
- name: Install and lint
run: |
@@ -24,5 +20,3 @@ jobs:
npm run test:other
npm run test:code
npm run test:typecheck
- env:
- CI: true
diff --git a/.github/workflows/locales-coverage.yml b/.github/workflows/locales-coverage.yml
index 037d391107..c7b6fc799c 100644
--- a/.github/workflows/locales-coverage.yml
+++ b/.github/workflows/locales-coverage.yml
@@ -14,10 +14,10 @@ jobs:
with:
token: ${{ secrets.PUSH_TRANSLATIONS_COVERAGE_PAT }}
- - name: Setup Node.js 12.x
+ - name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
- node-version: 12.x
+ node-version: 14.x
- name: Create report file
run: |
diff --git a/.github/workflows/semantic-pr-title.yml b/.github/workflows/semantic-pr-title.yml
index be84d22944..78a2674df4 100644
--- a/.github/workflows/semantic-pr-title.yml
+++ b/.github/workflows/semantic-pr-title.yml
@@ -10,6 +10,7 @@ on:
jobs:
main:
runs-on: ubuntu-latest
+
steps:
- uses: amannn/[email protected]
env:
diff --git a/.github/workflows/sentry-production.yml b/.github/workflows/sentry-production.yml
index 8b97972897..7408949dbb 100644
--- a/.github/workflows/sentry-production.yml
+++ b/.github/workflows/sentry-production.yml
@@ -8,13 +8,14 @@ on:
jobs:
release:
runs-on: ubuntu-latest
+
steps:
- uses: actions/[email protected]
- - name: Setup Node.js 12.x
+ - name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
- node-version: 12.x
+ node-version: 14.x
- name: Install and build
run: |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index fd99330d84..57434ceed1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,10 +1,6 @@
name: Tests
-on:
- push:
- branches:
- - master
- pull_request:
+on: push
jobs:
test:
@@ -13,14 +9,12 @@ jobs:
steps:
- uses: actions/checkout@v1
- - name: Setup Node.js 12.x
+ - name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
- node-version: 12.x
+ node-version: 14.x
- name: Install and test
run: |
npm ci
npm run test:app
- env:
- CI: true