Skip to content

Commit 2543708

Browse files
build: adds build workflow
1 parent 2be184d commit 2543708

File tree

113 files changed

+1139
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+1139
-18
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
on: [push, pull_request]
3+
4+
env:
5+
CYPRESS_INSTALL_BINARY: 0
6+
7+
jobs:
8+
www:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
15+
- name: Setup node
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version-file: '.nvmrc'
19+
cache: 'yarn'
20+
21+
- name: Install dependencies
22+
uses: bahmutov/npm-install@v1
23+
24+
- name: Build
25+
run: yarn build www --configuration=production

.github/workflows/changelog.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Changes
2+
on: [pull_request]
3+
4+
permissions:
5+
contents: read
6+
pull-requests: write
7+
8+
env:
9+
CYPRESS_INSTALL_BINARY: 0
10+
11+
jobs:
12+
changelog:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Setup node
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version-file: '.nvmrc'
23+
cache: 'yarn'
24+
25+
- name: Install dependencies
26+
uses: bahmutov/npm-install@v1
27+
28+
- name: Get First Commit
29+
run: echo "FIRST_COMMIT=$(git merge-base remotes/origin/main --octopus)" >> $GITHUB_ENV
30+
31+
- name: Generate changelog
32+
id: CHANGELOG
33+
env:
34+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
run: |
36+
npx auto changelog --no-git-commit --from=${{ env.FIRST_COMMIT }} --name
37+
ls -als
38+
39+
- name: Comment PR
40+
uses: thollander/actions-comment-pull-request@v2
41+
with:
42+
filePath: ./changelog.md
43+
comment_tag: changelog
44+
reactions: eyes
45+

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Test
2-
on: [issues, push]
2+
on: [push]
33

44
env:
55
CYPRESS_INSTALL_BINARY: 0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

.yarn/install-state.gz

115 KB
Binary file not shown.

README.md

Lines changed: 3 additions & 2 deletions

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "angular-toolkit",
3+
"author": "Angular Toolkit <[email protected]>",
34
"version": "0.0.0",
45
"license": "MIT",
56
"private": true,
@@ -53,6 +54,7 @@
5354
"@types/node": "16.11.7",
5455
"@typescript-eslint/eslint-plugin": "^5.36.1",
5556
"@typescript-eslint/parser": "^5.36.1",
57+
"auto": "^10.43.0",
5658
"cypress": "^12.2.0",
5759
"eslint": "~8.15.0",
5860
"eslint-config-prettier": "8.1.0",

0 commit comments

Comments
 (0)