-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jonluca/main
- Loading branch information
Showing
5 changed files
with
186 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
cfa: continuousauth/[email protected] | ||
jobs: | ||
test: | ||
docker: | ||
- image: cimg/node:18.11.0 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "yarn.lock" }} | ||
- run: yarn --frozen-lockfile | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "yarn.lock" }} | ||
paths: | ||
- ./node_modules | ||
- run: yarn lint | ||
- run: yarn test | ||
node: electronjs/[email protected] | ||
|
||
workflows: | ||
test_and_release: | ||
# release when tests are successful | ||
# Run the test jobs first, then the release only when all the test jobs are successful | ||
jobs: | ||
- test | ||
- node/test: | ||
executor: node/macos | ||
name: test-mac-<< matrix.node-version >> | ||
override-ci-command: yarn install --frozen-lockfile --ignore-engines | ||
test-steps: | ||
- run: yarn lint | ||
- run: yarn test | ||
use-test-steps: true | ||
matrix: | ||
alias: test-mac | ||
parameters: | ||
node-version: | ||
- 20.5.0 | ||
- 18.17.0 | ||
- 16.20.1 | ||
- 14.21.3 | ||
# - 12.22.12 | ||
# - 10.24.1 | ||
- cfa/release: | ||
requires: | ||
- test | ||
- test-mac | ||
filters: | ||
branches: | ||
only: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Add to Ecosystem WG Project | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
pull_request_target: | ||
types: | ||
- opened | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
add-to-project: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate GitHub App token | ||
uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1 | ||
id: generate-token | ||
with: | ||
creds: ${{ secrets.ECOSYSTEM_ISSUE_TRIAGE_GH_APP_CREDS }} | ||
org: electron | ||
- name: Add to Project | ||
uses: dsanders11/project-actions/add-item@3a81985616963f32fae17d1d1b406c631f3201a1 # v1.1.0 | ||
with: | ||
field: Opened | ||
field-value: ${{ github.event.pull_request.created_at || github.event.issue.created_at }} | ||
project-number: 89 | ||
token: ${{ steps.generate-token.outputs.token }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.