mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
remove github workflow
This commit is contained in:
parent
7528261252
commit
12248bee12
39
.github/workflows/test.yml
vendored
39
.github/workflows/test.yml
vendored
@ -1,39 +0,0 @@
|
|||||||
name: Test
|
|
||||||
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: ['10', '12']
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
|
|
||||||
- name: Cache node modules
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: ~/.npm
|
|
||||||
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
|
|
||||||
restore-keys: ${{ runner.os }}-node-${{ matrix.node-version }}
|
|
||||||
|
|
||||||
- name: Cache Gatsby build output
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: public
|
|
||||||
key: ${{ runner.os }}-public
|
|
||||||
|
|
||||||
- run: npm ci
|
|
||||||
- run: npm test
|
|
||||||
- run: npm run build
|
|
||||||
env:
|
|
||||||
CI: true
|
|
||||||
GATSBY_GITHUB_TOKEN: ${{ secrets.GATSBY_GITHUB_TOKEN }}
|
|
Loading…
Reference in New Issue
Block a user