Skip to content

Commit

Permalink
Add yarn package
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Mar 26, 2023
1 parent a56e56c commit 25efa68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
run: echo 'CHROMEAPP=google-chrome' >> $GITHUB_ENV
- if: startsWith(matrix.os, 'macos')
run: echo 'CHROMEAPP=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' >> $GITHUB_ENV
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn package
- run: yarn test
- run: |
CHROME_VERSION=$("$CHROMEAPP" --version | cut -f 3 -d ' ' | cut -d '.' -f 1)
Expand Down Expand Up @@ -63,8 +64,9 @@ jobs:
run: echo 'CHROMEAPP=google-chrome' >> $GITHUB_ENV
- if: startsWith(matrix.os, 'macos')
run: echo 'CHROMEAPP=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' >> $GITHUB_ENV
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn package
- run: yarn test
- uses: ./
if: matrix.branch == 'now'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
- uses: actions/checkout@v3
- shell: pwsh
run: echo "CHROMEAPP=C:\Program Files\Google\Chrome\Application\chrome.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn install --frozen-lockfile
shell: bash
- run: yarn build
- run: yarn package
- run: yarn test
- shell: pwsh
run: |
Expand Down Expand Up @@ -62,9 +63,10 @@ jobs:
- uses: actions/checkout@v3
- shell: pwsh
run: echo "CHROMEAPP=C:\Program Files\Google\Chrome\Application\chrome.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn install --frozen-lockfile
shell: bash
- run: yarn build
- run: yarn package
- run: yarn test
- uses: ./
if: matrix.branch == 'now'
Expand Down

0 comments on commit 25efa68

Please sign in to comment.