Migrate javascript action (#21)

This commit is contained in:
Shohei Ueda
2019-09-16 08:27:57 +09:00
committed by GitHub
parent ded0a1ada3
commit 68358aa004
194 changed files with 19698 additions and 59 deletions

48
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,48 @@
name: 'Test'
on: push
jobs:
test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
# - name: Test script
# run: npm test
- name: Build production
run: npm run build
test-prod:
runs-on: ubuntu-18.04
strategy:
matrix:
hugo-version: [null]
# hugo-version: [null, 'latest', '0.58.2']
extended: [null]
# extended: [null, true, false]
steps:
- uses: actions/checkout@v1
- name: Test action
uses: ./
with:
hugo-version: ${{ matrix.hugo-version }}
extended: ${{ matrix.extended }}
- name: Dump
run: |
hugo version
go version
git --version