Skip to content

Commit c9feb97

Browse files
committed
ci(*): added workflows and issues templates
1 parent 3542b4b commit c9feb97

File tree

3 files changed

+110
-0
lines changed

3 files changed

+110
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- Step 1 [READ THIS] -->
7+
<!--
8+
Are you in the right place?
9+
* For issues or feature requests related to __the code in this repository__
10+
file a Github issue.
11+
* If this is a __feature request__ make sure the issue title starts with "FR:".
12+
* For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/)
13+
with the firebase-authentication tag.
14+
* For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk)
15+
google group.
16+
* For help troubleshooting your application that does not fall under one
17+
of the above categories, reach out to the personalized
18+
[Firebase support channel](https://firebase.google.com/support/).
19+
-->
20+
21+
<!-- Step 2 -->
22+
23+
### [REQUIRED] Describe your environment
24+
25+
- Operating System version: **\_**
26+
- Browser version: **\_**
27+
- Firebase UI version: **\_**
28+
- Firebase SDK version: **\_**
29+
30+
<!-- Step 3 -->
31+
32+
### [REQUIRED] Describe the problem
33+
34+
#### Steps to reproduce:
35+
36+
<!--
37+
What happened? How can we make the problem occur?
38+
This could be a description, log/console output, etc.
39+
-->
40+
41+
#### Relevant Code:
42+
43+
<!--
44+
Reproduce the issue on StackBlitz and provide your forked URL
45+
or give us some sample code below
46+
-->
47+
48+
https://stackblitz.com/fork/firebase-issue-sandbox
49+
50+
```javascript
51+
// TODO(you): code here to reproduce the problem
52+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/workflows/test.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
env:
12+
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
13+
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
- name: Setup node
22+
uses: actions/setup-node@v2-beta
23+
with:
24+
node-version: '18'
25+
check-latest: true
26+
- name: node_modules cache
27+
id: node_modules_cache
28+
uses: actions/cache@v2
29+
with:
30+
path: ./node_modules
31+
key: ${{ runner.os }}-18-node_modules-${{ hashFiles('package-lock.json') }}
32+
restore-keys: |
33+
${{ runner.os }}-18-node_modules-
34+
- name: NPM install
35+
if: steps.node_modules_cache.outputs.cache-hit != 'true'
36+
run: npm ci
37+
- name: Build & run tests
38+
run: npm run test
39+
- name: Run tests in Saucelabs
40+
run: |
41+
./buildtools/sauce_connect.sh &
42+
./buildtools/run_tests.sh --saucelabs

0 commit comments

Comments
 (0)