1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/.github/workflows/daily-alpha.yml
Iku-turso 09acf8f981 chore: Revert non-working way to specify npm version in ci
This reverts commit 1232445e0a.

Co-authored-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-04 14:01:44 +03:00

31 lines
769 B
YAML

name: Release daily alpha
on:
schedule:
- cron: 0 0 30 * 1-5 # At 12:30am UTC work day
workflow_dispatch: # for testing
jobs:
create-alpha-release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
- name: Install deps
run: |
npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create PR
run: |
git fetch
npm run create-release-pr
env:
BUMP_PACKAGE_ARGS: -- --conventional-commits --conventional-prerelease --yes
GH_TOKEN: ${{ secrets.GH_TOKEN }}