Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/scttcper/ng2-adsense
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Apr 18, 2024
2 parents 563a930 + 63e9cff commit c7190db
Show file tree
Hide file tree
Showing 6 changed files with 10,316 additions and 17,789 deletions.
42 changes: 32 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,30 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
cache: "pnpm"

- name: install
run: pnpm install

- name: lint
run: npm run lint
run: pnpm run lint

- run: npm run build

- name: test
run: npm run test:ci

- name: coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -36,13 +47,24 @@ jobs:
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v3
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
cache: "pnpm"

- name: install
run: pnpm install

- run: npm run build

- name: release
run: cd dist && npx semantic-release
env:
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng2-adsense:build"
"buildTarget": "ng2-adsense:build"
},
"configurations": {
"production": {
"browserTarget": "ng2-adsense:build:production"
"buildTarget": "ng2-adsense:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ng2-adsense:build"
"buildTarget": "ng2-adsense:build"
}
},
"test": {
Expand Down
Loading

0 comments on commit c7190db

Please sign in to comment.