Skip to content

Commit

Permalink
Merge branch 'main' into docs-FORBID_CONTENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
0xedward committed Aug 10, 2022
2 parents 3a1ddba + 176993e commit a4d33f3
Show file tree
Hide file tree
Showing 40 changed files with 14,778 additions and 22,814 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"chrome": 22,
Expand Down
20 changes: 13 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
> This pull request [implements, fixes, changes]...
## Summary

### Background & Context
<!-- Explain this change, e.g. "this pull request [implements, fixes, changes]...". -->

Briefly outline why this PR was needed, a minimal context, culminating in your implementation.
## Background & Context

### Tasks
<!-- Briefly outline why this PR was needed, a minimal context, culminating in your implementation. -->

- Add tasks to give a quick overview for QA and reviewers
## Tasks

### Dependencies
<!-- Add tasks to give a quick overview for QA and reviewers -->

If there are any dependencies on PRs or API work then list them here.
- xxxx
- xxxx
- xxxx

## Dependencies

<!-- If there are any dependencies on PRs or API work then list them here. -->

- [x] Resolved dependency
- [ ] Open dependency
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
27 changes: 9 additions & 18 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and Test

# The event triggers are configured as following:
# - on `master` -> trigger the workflow on every push
# - on `main` -> trigger the workflow on every push
# - on any pull request -> trigger the workflow
# This is to avoid running the workflow twice on pull requests.
on:
Expand All @@ -16,37 +16,28 @@ jobs:

strategy:
matrix:
node-version: [14.x, 15.x]
node-version: [14.x, 16.x, 17.x, 18.x]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: yarn cache directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup node_modules cache
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install --frozen-lockfile
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Test
uses: GabrielBB/xvfb-action@v1.0
uses: GabrielBB/xvfb-action@v1.6
with:
run: npm run test:ci
env:
TEST_BROWSERSTACK: ${{ startsWith(matrix.node-version, '15') }}
TEST_BROWSERSTACK: ${{ startsWith(matrix.node-version, '18') }}
TEST_PROBE_ONLY: ${{ github.ref != 'refs/heads/main' }}
BS_USERNAME: ${{ secrets.BS_USERNAME }}
BS_ACCESSKEY: ${{ secrets.BS_ACCESSKEY }}
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand All @@ -38,14 +38,14 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -59,4 +59,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ bower_components
npm-debug.log
.vscode
yarn-error.log
nbproject/private/private.properties
nbproject/project.properties
nbproject/private/private.xml
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13
lts/*

0 comments on commit a4d33f3

Please sign in to comment.