Skip to content

Merge pull request #62 from Aller-Couleur/dependabot/npm_and_yarn/wor… #114

Merge pull request #62 from Aller-Couleur/dependabot/npm_and_yarn/wor…

Merge pull request #62 from Aller-Couleur/dependabot/npm_and_yarn/wor… #114

Workflow file for this run

name: CI
on:
pull_request:
push:
release:
types: [published]
env:
IMAGE_ID: ${{ github.repository }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
npm i
npm run test
semantic-release:
if: github.ref == 'refs/heads/master'
name: Semantic Release
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}