mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* electron v15.5.7 Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * change pipelines to use node 16 Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * bump @types/node Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * update yarn.lock Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * use fs.ObjectEncodingOptions Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
39 lines
937 B
YAML
39 lines
937 B
YAML
name: Publish NPM Package `master`
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
concurrency:
|
|
group: publish-master-npm
|
|
cancel-in-progress: true
|
|
jobs:
|
|
publish:
|
|
name: Publish NPM Package `master`
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
${{ github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'area/extension') }}
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
steps:
|
|
- name: Checkout Release
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Using Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Generate NPM package
|
|
run: |
|
|
make build-npm
|
|
|
|
- name: publish new release
|
|
run: |
|
|
make publish-npm
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
NPM_RELEASE_TAG: master
|