Skip to content

Commit 785b235

Browse files
authored
Merge pull request mansona#383 from mansona/fix-lttf-dashboard
implement working-directory for lttf deploy
2 parents ba478a3 + c16e25e commit 785b235

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

.github/workflows/gh-pages.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: pnpm/action-setup@v4
15-
- uses: mansona/lttf-dashboard@v1
15+
- uses: actions/setup-node@v4
1616
with:
17-
token: ${{secrets.GITHUB_TOKEN}}
17+
node-version: 18
18+
cache: pnpm
19+
- run: pnpm install --frozen-lockfile
20+
working-directory: ./ember-cli-notifications
21+
- run: pnpm lint-to-the-future output -o lttfOutput --rootUrl `cut -d'/' -f2 <<< ${{ github.repository }}` --previous-results https://${{ github.repository_owner }}.github.io/`cut -d'/' -f2 <<< ${{ github.repository }}`/data.json
22+
shell: bash
23+
working-directory: ./ember-cli-notifications
24+
- name: Deploy
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: ./ember-cli-notifications/lttfOutput

ember-cli-notifications/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"eslint-plugin-import": "^2.30.0",
5858
"eslint-plugin-n": "^17.10.3",
5959
"eslint-plugin-prettier": "^5.2.1",
60-
"lint-to-the-future": "^2.6.1",
60+
"lint-to-the-future": "^2.6.2",
6161
"lint-to-the-future-ember-template": "^3.0.0",
6262
"lint-to-the-future-eslint": "^2.2.0",
6363
"postcss": "^8.4.31",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)