Yaml has banned tabs

This commit is contained in:
James Forbes 2022-03-22 08:50:42 +11:00 committed by Stephan Hoyer
parent ae5469cf62
commit d6dd9132fb
3 changed files with 78 additions and 78 deletions

View file

@ -1,43 +1,43 @@
name: merge name: merge
on: on:
push: push:
branches: [ main ] branches: [ main ]
workflow_dispatch: workflow_dispatch:
concurrency: prr:deploy concurrency: prr:deploy
jobs: jobs:
merge: merge:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [16.x] node-version: [16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: 'next' ref: 'next'
fetch-depth: 0 fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npm run build --if-present - run: npm run build --if-present
- run: npx pr-release merge --target main --source next --commit --force --clean --changelog --compact --out ./docs/recent-changes.md - run: npx pr-release merge --target main --source next --commit --force --clean --changelog --compact --out ./docs/recent-changes.md
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# The following will publish the release to npm # The following will publish the release to npm
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
name: Setup NPM Auth name: Setup NPM Auth
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish - run: npm publish
name: Publish name: Publish

View file

@ -1,38 +1,38 @@
name: pr name: pr
on: on:
push: push:
branches: [ next ] branches: [ next ]
workflow_dispatch: workflow_dispatch:
concurrency: prr:pre-release concurrency: prr:pre-release
jobs: jobs:
pr: pr:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [16.x] node-version: [16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npm run build --if-present - run: npm run build --if-present
- run: npx pr-release pr --verbose --target main --source next --compact --verbose - run: npx pr-release pr --verbose --target main --source next --compact --verbose
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# The following will publish a prerelease to npm # The following will publish a prerelease to npm
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
name: Setup NPM Auth name: Setup NPM Auth
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npx pr-release infer-prerelease --preid=next --verbose --publish - run: npx pr-release infer-prerelease --preid=next --verbose --publish
name: Publish name: Publish

View file

@ -1,31 +1,31 @@
name: rollback name: rollback
on: on:
workflow_dispatch: workflow_dispatch:
concurrency: prr:deploy concurrency: prr:deploy
jobs: jobs:
pr: pr:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [16.x] node-version: [16.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: 'next' ref: 'next'
fetch-depth: 0 fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npm run build --if-present - run: npm run build --if-present
- run: npx pr-release rollback --verbose --target main --source next --verbose --ignore 'package*' --ignore changelog.md - run: npx pr-release rollback --verbose --target main --source next --verbose --ignore 'package*' --ignore changelog.md
env: env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}