-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.1.0 ✨Fully functional + Public release
Merge pull request #7 from Sharks-Interactive/staging
- Loading branch information
Showing
6 changed files
with
244 additions
and
95 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
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,41 @@ | ||
name: CI | ||
|
||
on: | ||
# Triggers the workflow when new PRS or commits are created on Prod | ||
push: | ||
branches: | ||
- prod | ||
pull_request: | ||
branches: | ||
- prod | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Setup | ||
run: yarn install | ||
- name: Format | ||
run: npm run format | ||
- name: Fix | ||
run: npm run lint-fix | ||
|
||
- name: Auto committing styled files | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
repository: 'src/' | ||
commit_message: "Github Action: Auto styled TS files" | ||
branch: ${{ github.ref }} | ||
add_options: '-f' | ||
|
||
- name: Build | ||
run: npm run build |
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
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.