Skip to content

Commit

Permalink
fix: CI落ちていたのを直す (#252)
Browse files Browse the repository at this point in the history
* chore(deps): downgrade TypeScript to v.4.6.4

* ci: use nodejs v16

* chore: use nodejs v16
  • Loading branch information
mnao305 authored Jul 2, 2022
1 parent 833a7cc commit d4def57
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 15 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: 'npm'
- name: npm install
run: npm ci
- name: npm run build
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build

on:
on:
push:
branches:
- master
Expand All @@ -13,10 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: 'npm'
- name: npm install
run: npm ci
- name: npm run build
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: 'npm'
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 16.15.1
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"husky": "7.0.4",
"ts-loader": "6.2.2",
"ts-node": "10.8.1",
"typescript": "4.7.4",
"typescript": "^4.6.4",
"webpack": "4.46.0",
"webpack-cli": "4.10.0"
}
Expand Down

0 comments on commit d4def57

Please sign in to comment.