Added extra run to Github actions

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

@ -6,15 +6,34 @@ on:
- master - master
jobs: jobs:
build: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Setup
uses: actions/checkout@v2
- name: Use Node.js - name: Setup Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: 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 - name: Install npm dependencies
run: yarn install run: yarn install
@ -23,6 +42,7 @@ jobs:
run: yarn run export run: yarn run export
env: env:
NODE_ENV: production NODE_ENV: production
NEXT_TELEMETRY_DISABLED: 1
- name: Deploy to pages - name: Deploy to pages
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3

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

Loading…
Cancel
Save