Added extra run to Github actions

main
Guus van Meerveld 3 years ago
parent 294f5cf72b
commit 09c43a3d17
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -6,15 +6,34 @@ on:
- master
jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup
uses: actions/checkout@v2
- name: Use Node.js
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "16.6.0"
node-version: "12.x"
- name: Install npm dependencies
run: yarn install
- name: Lint
run: yarn lint
deploy:
runs-on: ubuntu-latest
needs: test
steps:
- name: Setup
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Install npm dependencies
run: yarn install
@ -23,6 +42,7 @@ jobs:
run: yarn run export
env:
NODE_ENV: production
NEXT_TELEMETRY_DISABLED: 1
- name: Deploy to pages
uses: peaceiris/actions-gh-pages@v3

@ -6,5 +6,8 @@ module.exports = {
reactStrictMode: true,
experimental: {
emotion: true
},
eslint: {
ignoreDuringBuilds: true
}
};

Loading…
Cancel
Save