Uncommented release

This commit is contained in:
Viktor Sarström 2021-10-27 08:07:16 +02:00
parent d71c10607f
commit 3993e3f1bd
1 changed files with 36 additions and 36 deletions

View File

@ -1,45 +1,45 @@
name: Release # name: Release
on: # on:
push: # push:
branches: # branches:
- main # - main
jobs: # jobs:
build: # build:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- name: Checkout code # - name: Checkout code
uses: actions/checkout@v2 # uses: actions/checkout@v2
- name: Setup Node # - name: Setup Node
uses: actions/setup-node@v1 # uses: actions/setup-node@v1
with: # with:
node-version: '14.17.6' # node-version: '14.17.6'
- name: Setup timezone # - name: Setup timezone
uses: zcong1993/setup-timezone@master # uses: zcong1993/setup-timezone@master
with: # with:
timezone: Europe/Stockholm # timezone: Europe/Stockholm
- name: Install dependencies # - name: Install dependencies
run: npx lerna bootstrap # run: npx lerna bootstrap
- name: Run linting and tests # - name: Run linting and tests
run: | # run: |
yarn lint # yarn lint
yarn test # yarn test
env: # env:
CI: true # CI: true
- name: Create release using semantic-release # - name: Create release using semantic-release
uses: cycjimmy/semantic-release-action@v2 # uses: cycjimmy/semantic-release-action@v2
with: # with:
semantic_version: 17.1.1 # semantic_version: 17.1.1
extra_plugins: | # extra_plugins: |
@semantic-release/changelog@5.0.1 # @semantic-release/changelog@5.0.1
@semantic-release/git@9.0 # @semantic-release/git@9.0
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}