mirror of
https://github.com/l-lin/font-awesome-animation.git
synced 2024-10-22 22:31:06 +08:00
1d7fbf001b
- use NPM scripts instead of Grunt - use Github actions instead of Travis - remove dist from versioning - remove demo - remove bower
28 lines
488 B
YAML
28 lines
488 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Node & install dependencies
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12.x'
|
|
run: npm install
|
|
|
|
- name: Run a one-line script
|
|
run: npm run build
|
|
|