mirror of
https://github.com/wishthis/wishthis.git
synced 2026-05-24 06:45:31 -04:00
Switch to FUI nightly
This commit is contained in:
12
node_modules/fomantic-ui/.github/workflows/ci.yml
generated
vendored
12
node_modules/fomantic-ui/.github/workflows/ci.yml
generated
vendored
@@ -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
|
||||
|
||||
21
node_modules/fomantic-ui/.github/workflows/nightly.yml
generated
vendored
21
node_modules/fomantic-ui/.github/workflows/nightly.yml
generated
vendored
@@ -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
31
node_modules/fomantic-ui/.github/workflows/release.yml
generated
vendored
Normal 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
|
||||
Reference in New Issue
Block a user