diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..f252824a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build App + +on: + pull_request: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node: ['14'] + name: Run build script (Node ${{ matrix.node }}) + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set up node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + + - name: Install dependencies + run: npm ci + + - name: Build App + run: npm run build diff --git a/.github/workflows/i18nExtract.yml b/.github/workflows/i18nExtract.yml index 2d001e50..7f2db88e 100644 --- a/.github/workflows/i18nExtract.yml +++ b/.github/workflows/i18nExtract.yml @@ -8,8 +8,11 @@ on: jobs: extract: - name: Block on unextracted Changes runs-on: ubuntu-latest + strategy: + matrix: + node: ['14'] + name: Block on unextracted Changes (Node ${{ matrix.node }}) steps: - name: Checkout Repository @@ -18,7 +21,7 @@ jobs: - name: Set up node uses: actions/setup-node@v1 with: - node-version: '12' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci diff --git a/.github/workflows/standard_lint.yml b/.github/workflows/standard_lint.yml index 16647081..46bc4fb3 100644 --- a/.github/workflows/standard_lint.yml +++ b/.github/workflows/standard_lint.yml @@ -8,8 +8,11 @@ on: jobs: linting: - name: Block on linting errors runs-on: ubuntu-latest + strategy: + matrix: + node: ['14'] + name: Block on linting errors (Node ${{ matrix.node }}) steps: - name: Checkout Repository @@ -18,7 +21,7 @@ jobs: - name: Set up node uses: actions/setup-node@v1 with: - node-version: '12' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 63243223..00000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js - -node_js: - - '12' - - '14' - -script: npm run build - -cache: - timeout: 600 - directories: - - node_modules - - $HOME/.electron