Skip to content

Commit 8b7103f

Browse files
committed
Migrate to Github Actions
1 parent 7f41956 commit 8b7103f

File tree

6 files changed

+3147
-2646
lines changed

6 files changed

+3147
-2646
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build and test
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
timeout-minutes: 60
7+
steps:
8+
- uses: actions/checkout@v3
9+
name: Checkout [master]
10+
with:
11+
fetch-depth: 0
12+
13+
- name: Install dependencies
14+
run: npm install
15+
16+
- name: Build application
17+
run: npm run build
18+
19+
- name: Run Tests
20+
run: npm run test

.github/workflows/release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Create Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
increment:
7+
type: choice
8+
description: Increment
9+
required: true
10+
options:
11+
- major
12+
- minor
13+
- patch
14+
15+
jobs:
16+
release:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout [main]
20+
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
23+
- name: Init npm cache
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: '18'
27+
cache: 'yarn'
28+
- name: install dependencies
29+
run: yarn install --frozen-lockfile
30+
- name: git config
31+
run: |
32+
git config --global user.name "Release Workflow"
33+
git config --global user.email "[email protected]"
34+
- name: Run Release
35+
run: yarn release ${{ github.event.inputs.increment }} --ci
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ April 9, 2023
77
- Fix `isAggregateFn` (#228)
88
- Date functions, such as `HOUR_IN_DAY(CreatedDate)` did not properly have the `isAggregateFn` property set to true for the field.
99
- As a result, `getFlattenedFields` would produce incorrect results for these fields if they were not aliased.
10+
- Upgraded webpack, migrated from Travis CI to Github Actions
11+
- Update dependencies to resolve reported security issues
1012

1113
## 4.7.1
1214

0 commit comments

Comments
 (0)