Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Prettier update
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasDybdahl committed Feb 14, 2020
1 parent aa14639 commit f58e719
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build-pr-or-branch.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: Bygg branch eller PR

on:
pull_request:
push:
branches-ignore:
- master
pull_request:
push:
branches-ignore:
- master

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
kompiler:
runs-on: ubuntu-latest
steps:
- name: Sjekk ut kode
uses: actions/checkout@v2
kompiler:
runs-on: ubuntu-latest
steps:
- name: Sjekk ut kode
uses: actions/checkout@v2

- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: npm install
- run: npm run test
- run: npm run build
- run: npm install
- run: npm run test
- run: npm run build
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"useTabs": false,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"tabWidth": 4,
"tabWidth": 2,
"arrowParens": "always",
"singleQuote": true,
"printWidth": 100,
Expand Down

0 comments on commit f58e719

Please sign in to comment.