Created
January 15, 2020 13:09
-
-
Save Loner1024/b70f523642525cd019220effc80bbe2a to your computer and use it in GitHub Desktop.
action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: action | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install | |
run: npm install | |
- name: build | |
run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "action", | |
"builds": [ | |
{ | |
"src": "package.json", | |
"use": "@now/static-build", | |
"config": { | |
"distDir": "dist" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment