Skip to content

Lag nested liste (ul ul) for hovedenhet-underenhet-hierarki #1511

Lag nested liste (ul ul) for hovedenhet-underenhet-hierarki

Lag nested liste (ul ul) for hovedenhet-underenhet-hierarki #1511

Workflow file for this run

name: Bygg branch
on:
push:
branches:
- '*'
- '!master'
env:
IMAGE_BASE: ghcr.io/${{ github.repository }}/min-side-arbeidsgiver
jobs:
bygg:
name: Bygg branch
runs-on: ubuntu-latest
steps:
- name: Sjekk ut kode
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16.14.2'
registry-url: https://npm.pkg.github.com/
cache: 'npm'
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
- run: npm run lint
- run: npm run build
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Bygg, tag og push Docker-image
run: |
docker build --tag $IMAGE_BASE:$GITHUB_SHA .
echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u $GITHUB_REPOSITORY --password-stdin
docker push $IMAGE_BASE:$GITHUB_SHA