chore(): sync with main

This commit is contained in:
Liam DeBeasi
2021-11-11 10:19:05 -05:00
20 changed files with 365 additions and 81 deletions

View File

@@ -41,8 +41,7 @@ closeAndLock:
- label: "ionitron: support"
message: >
Thanks for the issue! This issue appears to be a support request. We use this issue tracker exclusively for
bug reports and feature requests. Please use our [forum](https://forum.ionicframework.com) or our
[slack channel](https://ionicworldwide.herokuapp.com/) for questions about the framework.
bug reports and feature requests. Please use our [forum](https://forum.ionicframework.com) for questions about the framework.
Thank you for using Ionic!

View File

@@ -42,7 +42,7 @@ jobs:
test-core-screenshot:
needs: [build-core]
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
if: github.ref != 'refs/heads/main' && !github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/actions/test-core-screenshot

75
.github/workflows/dev-build.yml vendored Normal file
View File

@@ -0,0 +1,75 @@
name: 'Ionic Dev Build'
on:
workflow_dispatch
jobs:
dev-build:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.devBuild.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 15.x
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: npm install
shell: bash
- name: Create Dev Build
run: npm run release.dev -- --skip-prompt
shell: bash
- name: Publish Core
run: npm publish --tag dev
working-directory: ./core
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Docs
run: npm publish --tag dev
working-directory: ./docs
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Angular
run: npm publish --tag dev
working-directory: ./angular
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Angular Server
run: npm publish --tag dev
working-directory: ./packages/angular-server
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish React
run: npm publish --tag dev
working-directory: ./packages/react
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish React Router
run: npm publish --tag dev
working-directory: ./packages/react-router
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Vue
run: npm publish --tag dev
working-directory: ./packages/vue
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish Vue Router
run: npm publish --tag dev
working-directory: ./packages/vue-router
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Wrap Up
id: devBuild
run: |
val=$(grep version package.json | sed 's/.*"version": "\(.*\)".*/\1/')
echo "::set-output name=version::$val"
working-directory: ./core
get-version:
name: Get your dev build!
runs-on: ubuntu-latest
needs: [dev-build]
steps:
- run: echo ${{ needs.dev-build.outputs.version }}