๐Ÿ— use yarn

This commit is contained in:
marocchino 2021-09-01 02:43:12 +09:00
parent 46599ab661
commit 41794c1850
No known key found for this signature in database
GPG key ID: AFF521DBDB122570
6 changed files with 3903 additions and 6506 deletions

View file

@ -9,8 +9,8 @@ jobs:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: yarn install
- run: npm run build - run: yarn build
- uses: ./ - uses: ./
with: with:
header: FromPR header: FromPR

View file

@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: npm ci - run: yarn install
- run: | - run: |
set -o pipefail set -o pipefail
mkdir -p ./pr mkdir -p ./pr
echo ${{ github.event.number }} | tee ./pr/number echo ${{ github.event.number }} | tee ./pr/number
npm run all |& tee ./pr/all_result yarn all |& tee ./pr/all_result
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: ${{ github.event_name == 'pull_request' && (success() || failure()) }} if: ${{ github.event_name == 'pull_request' && (success() || failure()) }}
with: with:

2
.gitignore vendored
View file

@ -3,6 +3,8 @@ __tests__/runner/*
# comment out in distribution branches # comment out in distribution branches
node_modules/ node_modules/
package-lock.json
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore # Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs # Logs
logs logs

6501
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,7 +12,7 @@
"package": "ncc build --source-map --license licenses.txt", "package": "ncc build --source-map --license licenses.txt",
"test": "jest", "test": "jest",
"build_test": "tsc && jest", "build_test": "tsc && jest",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test" "all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

3896
yarn.lock Normal file

File diff suppressed because it is too large Load diff