Skip to content

test devtools env #1336

test devtools env

test devtools env #1336

Workflow file for this run

name: Test
env:
LERNA: [email protected]
on:
pull_request:
branches:
- maintenance-3.1.x
workflow_call:
inputs:
branch:
description: 'The current branch'
default: maintenance-3.1.x
type: string
required: false
secrets:
NPM_PACKAGES_TOKEN:
description: 'NPM_PACKAGES_TOKEN'
required: true
SAUCE_ACCESS_KEY:
description: 'SAUCE_ACCESS_KEY'
required: true
env:

Check failure on line 25 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 25
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ env.BRANCH_NAME }}
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://packages.devtools.nuxeo.com/repository/npm-public/'
scope: '@nuxeo'
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
run: |
npx ${{ env.LERNA }} exec --ignore @nuxeo/nuxeo-elements-storybook -- npm publish --@nuxeo:registry=https://packages.devtools.nuxeo.com/repository/npm-public/