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>
34 lines
751 B
YAML
34 lines
751 B
YAML
name: Publish NPM Package Release
|
|
on:
|
|
release:
|
|
types:
|
|
- published
|
|
jobs:
|
|
publish:
|
|
name: Publish NPM Package Release
|
|
runs-on: ubuntu-latest
|
|
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
|
|
if: contains(github.ref, 'refs/tags/v')
|
|
run: |
|
|
make publish-npm
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|