Skip to content

ci: set persist-credentials to false for checkout action #88

ci: set persist-credentials to false for checkout action

ci: set persist-credentials to false for checkout action #88

name: Node.js CI
on:
push:
branches:
- '**'
tags:
- 'v**'
workflow_dispatch:
jobs:
build-and-test:
name: Build, lint and test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '16.x'
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test
container-image-release:
name: Make container image release
needs: [build-and-test]
uses: nrkno/sofie-github-workflows/.github/workflows/container-build-push.yml@main