-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 909 Bytes
/
branch.yml
File metadata and controls
33 lines (28 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: branch-push
on:
push:
branches:
- "**" # Match all branches
paths-ignore:
- "**.md"
jobs:
test:
runs-on: ubuntu-latest
steps:
# Setup
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- name: Reconfigure git
run: |
git config user.email "builder@barchart.com"
git config user.name "Barchart Builder"
git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf ssh://git@github.com/
- name: Install dependencies
run: |
yarn
yarn generate:version
- name: Run tests
run: yarn test