Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 11, 2023
1 parent 26265df commit 51359c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/GHPages.yml
Expand Up @@ -26,10 +26,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Packages
run: npm install
run: npm install -f
- name: Build docs
run: npm run docs:build
- name: Update docs
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/NodeCI.yml
Expand Up @@ -12,8 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Install Packages
run: npm install -f
- name: Lint
Expand All @@ -24,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -40,8 +38,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Install Target Packages
run: |+
npm i -D eslint@6 --legacy-peer-deps
Expand All @@ -51,15 +47,10 @@ jobs:
run: npm test
test-with-eslint7:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Target Packages
run: |+
npm i -D eslint@7 --legacy-peer-deps
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/Release.yml
Expand Up @@ -15,15 +15,10 @@ jobs:
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16
uses: actions/setup-node@v4
with:
node-version: 16

- name: Install Dependencies
run: npm install

run: npm install -f
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
- name: Install deps
run: npm install
run: npm install -f
- name: Format
run: npm run eslint-fix
- name: Commit
Expand Down

0 comments on commit 51359c6

Please sign in to comment.