Skip to content

Commit

Permalink
fix: npm ci 周りの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kei01234kei committed Nov 23, 2023
1 parent b11511a commit eaa3361
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ on: pull_request
jobs:
code-style-check:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
# 参考: https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://npm.pkg.github.com'
scope: '@recordex'
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run npm run fix
run: npm run fix
- name: Check for changes
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ yarn-error.log*
next-env.d.ts

.vscode
.npmrc
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

0 comments on commit eaa3361

Please sign in to comment.