aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-10-27 20:47:31 +0800
committercrupest <crupest@outlook.com>2022-10-27 20:47:31 +0800
commitdb15382363419ae572f5ee2b7fef37013f665970 (patch)
tree1e6824ecfa8de9e1271408dafc13020882b6ee88 /.github
parent83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf (diff)
downloadtimeline-db15382363419ae572f5ee2b7fef37013f665970.tar.gz
timeline-db15382363419ae572f5ee2b7fef37013f665970.tar.bz2
timeline-db15382363419ae572f5ee2b7fef37013f665970.zip
Fix all errors so far.
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml12
-rw-r--r--.github/workflows/front-ci.yaml23
2 files changed, 11 insertions, 24 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index 931a4346..00000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# To get started with Dependabot version updates, you'll need to specify which
-# package ecosystems to update and where the package manifests are located.
-# Please see the documentation for all configuration options:
-# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
-
-version: 2
-updates:
- - package-ecosystem: "npm" # See documentation for possible values
- directory: "/FrontEnd" # Location of package manifests
- schedule:
- interval: "daily"
- open-pull-requests-limit: 3
diff --git a/.github/workflows/front-ci.yaml b/.github/workflows/front-ci.yaml
index 028f64d1..4bc393f3 100644
--- a/.github/workflows/front-ci.yaml
+++ b/.github/workflows/front-ci.yaml
@@ -20,28 +20,27 @@ jobs:
working-directory: FrontEnd
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- - uses: actions/cache@v2
+ - uses: pnpm/action-setup@v2
with:
- path: ~/.npm
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- restore-keys: |
- ${{ runner.os }}-node-
+ version: 7
- - name: Use Node.js 15
- uses: actions/setup-node@v1
+ - name: Use Node.js Latest
+ uses: actions/setup-node@v3
with:
- node-version: "15"
+ node-version: "latest"
+ cache: "pnpm"
+ cache-dependency-path: '**/pnpm-lock.yaml'
- name: Restore Packages
- run: npm ci
+ run: pnpm install --frozen-lockfile
- name: Build App
- run: npm run build
+ run: pnpm run build
- name: Lint Code
- run: npm run lint
+ run: pnpm run lint
- name: Upload Artifact
uses: actions/upload-artifact@v2