Skip to content

Commit

Permalink
try npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jan 12, 2025
1 parent f614b4f commit 5bbed74
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ on:
- '*'

jobs:
electron:
strategy:
matrix:
image: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.image }}
# electron:
# strategy:
# matrix:
# image: [ubuntu-latest, macos-latest, windows-latest]
# runs-on: ${{ matrix.image }}

env:
CSC_IDENTITY_AUTO_DISCOVERY: true
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# env:
# CSC_IDENTITY_AUTO_DISCOVERY: true
# CSC_LINK: ${{ secrets.CSC_LINK }}
# CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies (Node.js)
run: npm ci
- name: Build electron app
run: npm run build:electron
- name: build package
run: npx electron-builder build --x64 --arm64 --publish always
- name: Upload built packages
uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.image }}
path: release/
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js LTS
# uses: actions/setup-node@v4
# with:
# node-version: lts/*
# cache: 'npm'
# - name: Install dependencies (Node.js)
# run: npm ci
# - name: Build electron app
# run: npm run build:electron
# - name: build package
# run: npx electron-builder build --x64 --arm64 --publish always
# - name: Upload built packages
# uses: actions/upload-artifact@v4
# with:
# name: artifact-${{ matrix.image }}
# path: release/

plugin:
runs-on: ubuntu-latest
Expand All @@ -53,7 +53,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: generate contents
run: |
npm install
npm ci
npm run build:plugin
- name: publish
run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appium-inspector-plugin",
"version": "2024.12.1-beta.12",
"version": "2024.12.1-beta.13",
"description": "An app inspector for use with an Appium server",
"repository": {
"type": "git",
Expand Down

0 comments on commit 5bbed74

Please sign in to comment.