stuff
This commit is contained in:
parent
6ad53debe1
commit
6653f10283
8 changed files with 17 additions and 10219 deletions
25
.github/workflows/build-macos.yml
vendored
25
.github/workflows/build-macos.yml
vendored
|
@ -35,15 +35,11 @@ jobs:
|
|||
fetch-depth: 0
|
||||
submodules: true
|
||||
|
||||
- uses: pnpm/action-setup@v2.2.4
|
||||
with:
|
||||
version: 7
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'pnpm'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Run Version Script
|
||||
env:
|
||||
|
@ -51,9 +47,6 @@ jobs:
|
|||
run: |
|
||||
sudo chmod +x resources/version.sh && ./resources/version.sh || true
|
||||
|
||||
- name: Clear node_airtunes2 cache
|
||||
run: rm -rf ~/Library/pnpm/store/v3/tmp/cf5bc2de2629636ca224995234b8eaa1 || true
|
||||
|
||||
- name: Sign in to EVS
|
||||
run: |
|
||||
python3 -m pip install --upgrade castlabs-evs
|
||||
|
@ -64,7 +57,7 @@ jobs:
|
|||
|
||||
- name: Install and Configure Node Modules
|
||||
run: |
|
||||
pnpm install
|
||||
npm run bootstrap
|
||||
cp resources/verror-types node_modules/@types/verror/index.d.ts
|
||||
cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js
|
||||
rm -r node_modules/pouchdb-node/node_modules/leveldown || true
|
||||
|
@ -80,7 +73,7 @@ jobs:
|
|||
APPLE_ID_PASSWORD: ${{ secrets.APPLEIDPASS }}
|
||||
PSC_NAME: ${{ secrets.PSC_NAME }}
|
||||
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
|
||||
run: pnpm dist:universalNotWorking -p never
|
||||
run: npm run dist -m -p never
|
||||
|
||||
- name: Add license to DMG
|
||||
run: npx dmg-license resources/license.json dist/*.dmg
|
||||
|
@ -135,16 +128,4 @@ jobs:
|
|||
repo_token: ${{ secrets.RELEASE_TOKEN }}
|
||||
file: dist/Cider-${{ env.APP_VERSION }}-universal.pkg
|
||||
tag: v${{ env.RELEASE_VERSION }}
|
||||
- name: Trigger Bot Sync (main)
|
||||
uses: indiesdev/curl@v1.1
|
||||
with:
|
||||
url: http://129.146.42.180/api/v1/github/sync/main
|
||||
log-response: true
|
||||
timeout: 60000
|
||||
- name: Trigger Bot Sync (stable)
|
||||
uses: indiesdev/curl@v1.1
|
||||
with:
|
||||
url: http://129.146.42.180/api/v1/github/sync/stable
|
||||
log-response: true
|
||||
timeout: 60000
|
||||
|
||||
|
|
40
.github/workflows/cider-chores.yml
vendored
40
.github/workflows/cider-chores.yml
vendored
|
@ -6,46 +6,6 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
update-packages:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
# Make sure the actual branch is checked out when running on pull requests
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Setup pnpm 🚧
|
||||
id: pnpm-install
|
||||
with:
|
||||
version: 7
|
||||
run_install: false
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Update lockfile
|
||||
run: pnpm update
|
||||
|
||||
- name: Commit Updated Lockfile
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "chore: Updated Lockfile"
|
||||
commit_user_name: "cider-chore[bot]"
|
||||
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
||||
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
12
.github/workflows/dev-chores.yml
vendored
12
.github/workflows/dev-chores.yml
vendored
|
@ -15,25 +15,17 @@ jobs:
|
|||
- name: Checkout 🛎
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Setup pnpm 🚧
|
||||
id: pnpm-install
|
||||
with:
|
||||
version: 7
|
||||
run_install: false
|
||||
|
||||
- name: Setup node env 🏗
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
check-latest: true
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies 👨🏻💻
|
||||
run: pnpm install
|
||||
run: npm run bootstrap
|
||||
|
||||
- name: Run linter 👀
|
||||
run: pnpm format:write
|
||||
run: npm run format:write
|
||||
|
||||
- name: Comment Suggestions 🗒️
|
||||
uses: getsentry/action-git-diff-suggestions@main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue