Update github action CI/CD
This commit is contained in:
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@@ -21,6 +21,20 @@ jobs:
|
|||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# NPM
|
||||||
|
# - name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
# uses: actions/setup-node@v2
|
||||||
|
# with:
|
||||||
|
# node-version: ${{ matrix.node-version }}
|
||||||
|
# cache: 'npm'
|
||||||
|
# - run: npm i
|
||||||
|
# - run: npm run lint
|
||||||
|
# - run: npm run build
|
||||||
|
# # - run: npm run start
|
||||||
|
# - run: npm run test
|
||||||
|
|
||||||
|
# YARN
|
||||||
- uses: borales/actions-yarn@v3.0.0
|
- uses: borales/actions-yarn@v3.0.0
|
||||||
with:
|
with:
|
||||||
cmd: install # will run `yarn install` command
|
cmd: install # will run `yarn install` command
|
||||||
|
|||||||
Reference in New Issue
Block a user