ci: remove bs3-related workflow; do not install grunt
This commit is contained in:
parent
c0c8771370
commit
7c6fa167f1
46
.github/workflows/publish-bs3.yml
vendored
46
.github/workflows/publish-bs3.yml
vendored
|
@ -1,46 +0,0 @@
|
|||
name: Publish BS3
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths: [ bootstrap/** ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node.js 16.x
|
||||
uses: actions/setup-node@v3.0.0
|
||||
with:
|
||||
node-version: 16.x
|
||||
registry-url: https://registry.npmjs.org/
|
||||
|
||||
- name: Set package.json version
|
||||
uses: HarmvZ/set-package-json-version-action@v0.1.2
|
||||
with:
|
||||
version: 1.0.${{ github.run_number }}
|
||||
path: ./bootstrap
|
||||
|
||||
- name: Build Release
|
||||
working-directory: bootstrap
|
||||
run: |
|
||||
npm install -g grunt-cli
|
||||
npm ci
|
||||
grunt dist
|
||||
|
||||
- name: Publish to NPM
|
||||
run: npm publish --access public
|
||||
working-directory: bootstrap
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
name: dist
|
||||
path: bootstrap/dist
|
|
@ -110,9 +110,6 @@ RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
|
|||
update-locale LC_ALL en_US.UTF-8
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
# Install grunt
|
||||
RUN npm install -g grunt-cli
|
||||
|
||||
# Install idnits
|
||||
ADD https://raw.githubusercontent.com/ietf-tools/idnits-mirror/main/idnits /usr/local/bin/
|
||||
RUN chmod +rx /usr/local/bin/idnits
|
||||
|
|
Loading…
Reference in a new issue