Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/243-error-execa
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshulyakov authored Jun 18, 2022
2 parents eae982e + e68ebd4 commit dbeb95f
Show file tree
Hide file tree
Showing 8 changed files with 660 additions and 26 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Basic dependabot.yml file with
# minimum configuration for two package managers

version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "weekly"
61 changes: 61 additions & 0 deletions .github/workflows/build-nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Build Nightly artifacts

on:
push:
branches: ["master", "main"]
pull_request:
branches: ["master", "main"]

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install npm modules
run: npm ci
- name: Make envfile
run: echo "${{ secrets.SENTRY_DSN }}" | base64 -d > .env
- name: Build artifact
run: npm_config_yes=true npm run build -- --linux
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install npm modules
run: npm ci
- name: Make envfile
run: |
echo ${{ secrets.SENTRY_DSN }} > env.b64
certutil -decode env.b64 .env
del env.b64
- name: Build artifact
run: env npm_config_yes=true npm run build --win
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build portable artifact
run: env npm_config_yes=true npm run build -- --win portable
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-mac:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install npm modules
run: npm ci
- name: Make envfile
run: echo ${{ secrets.SENTRY_DSN }} | base64 -d > .env
- name: Build artifact
run: npm_config_yes=true npm run build -- --mac
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 10 additions & 10 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: Build artifacts to link to release
on:
push:
tags:
- '*'
- "*"

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: "12"
- name: Install npm modules
run: npm ci
- name: Make envfile
Expand All @@ -36,10 +36,10 @@ jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: "12"
- name: Install npm modules
run: npm ci
- name: Make envfile
Expand All @@ -58,10 +58,10 @@ jobs:
build-mac:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: "12"
- name: Install npm modules
run: npm ci
- name: Make envfile
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ name: CI
on:
push:
paths-ignore:
- '**/.github/ISSUE_TEMPLATE/**'
- '**/.github/FUNDING.yml'
- "**/.github/ISSUE_TEMPLATE/**"
- "**/.github/FUNDING.yml"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: lts/*
- name: Install npm modules
run: npm install
run: npm ci
- name: Run ESLint
run: npm run lint
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: lts/*
- name: Install npm modules
run: npm install
run: npm ci
- name: Run Jest
run: npm run test
- name: Upload coverage to codecov
Expand Down
Loading

0 comments on commit dbeb95f

Please sign in to comment.