Skip to content

Bump eslint from 9.16.0 to 9.17.0 in the eslint group (#5375) #1703

Bump eslint from 9.16.0 to 9.17.0 in the eslint group (#5375)

Bump eslint from 9.16.0 to 9.17.0 in the eslint group (#5375) #1703

Workflow file for this run

# Updates the "dev" github release whenever new changes are merged into master.
# This provides an up to date tarball that https://github.com/ansible/galaxy_ng can use.
name: "Dev release"
on:
workflow_dispatch: # allow running manually
push:
branches: [ 'master' ]
concurrency:
group: dev-release-${{ github.ref }}
cancel-in-progress: true
jobs:
dev:
runs-on: ubuntu-latest
env:
BRANCH: 'master' # for webpack
NODE_OPTIONS: "--max-old-space-size=4096 --max_old_space_size=4096"
steps:
- name: "Checkout ansible-hub-ui (${{ github.ref }})"
uses: actions/checkout@v4
- name: "Install node 20"
uses: actions/setup-node@v4
with:
node-version: '20'
- name: "Update the dev tag"
run: |
git config --local user.name "Dev release workflow"
git config --local user.email "[email protected]"
git tag -f dev
git push -f --tags
- name: "Cache ~/.npm"
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.GITHUB_REF }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.GITHUB_REF }}-
${{ runner.os }}-node-
- name: "Build a tarball"
run: |
npm ci || npm install
npm run build-standalone
tar -C dist/ -czvf automation-hub-ui-dist.tar.gz .
- name: "Release"
run: |
gh release create -p "$RELEASE_TAG" --title "$RELEASE_NAME" --notes "$RELEASE_BODY" || true # may already exist
gh release upload "$RELEASE_TAG" "$RELEASE_FILE" --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_NAME: "UI Dev Release"
RELEASE_BODY: "This is a special release that provides an up to date build off of the latest changes in the `master` branch. The `automation-hub-ui-dist.tar.gz` artifact provided here corresponds to the latest version of `master`."
RELEASE_FILE: 'automation-hub-ui-dist.tar.gz'
RELEASE_TAG: 'dev'