Switch to FUI nightly

This commit is contained in:
Jay Trees
2022-04-07 09:06:43 +02:00
parent 0ea1ad469d
commit ec5b6c905c
6595 changed files with 171884 additions and 136424 deletions

View File

@@ -2,20 +2,20 @@ name: CI
on: [pull_request]
jobs:
test:
name: Test build process on node ${{ matrix.node_version }}
name: Test build process on node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [8, 10, 11, 12, 13, 14]
node-version: [12, 14, 16]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: pre-install
run: sh ./scripts/preinstall.sh
- name: install dependencies
run: npm install --ignore-scripts
run: yarn
- name: pre fomantic install & gulp build
run: npx gulp install
run: yarn gulp install

View File

@@ -7,26 +7,31 @@ jobs:
name: Build nightly distribution
runs-on: ubuntu-latest
if: github.repository == 'fomantic/Fomantic-UI'
outputs:
shouldPublish: ${{ steps.nightly-version.outputs.shouldPublish }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
ref: develop
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/
- name: pre-setup
run: sh ./scripts/preinstall.sh
- name: install dependencies
run: npm install --ignore-scripts
run: yarn
- name: update nightly version
id: nightly-version
run: node ./scripts/nightly-version.js
- name: fomantic install & build
run: npx gulp install
if: ${{ steps.nightly-version.outputs.shouldPublish == 'yes' }}
run: yarn gulp install
- name: publish to npm
if: ${{ steps.nightly-version.outputs.shouldPublish == 'yes' }}
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION }}
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish --tag nightly
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
CI: true

31
node_modules/fomantic-ui/.github/workflows/release.yml generated vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Release
on:
release:
types: [released]
jobs:
publish:
name: Build new Release
runs-on: ubuntu-latest
if: github.repository == 'fomantic/Fomantic-UI'
steps:
- uses: actions/checkout@v2
with:
ref: master
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: pre-setup
run: sh ./scripts/preinstall.sh
- name: install dependencies
run: yarn
- name: fomantic install & build
run: yarn gulp install
- name: publish to npm
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION }}
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
yarn config set registry https://registry.npmjs.org
yarn publish --non-interactive