8000 0.3.12 (updated readme and package.json · ulyssear/css-in-js-in-html@ce01505 · GitHub
[go: up one dir, main page]

Skip to content

0.3.12 (updated readme and package.json #34

0.3.12 (updated readme and package.json

0.3.12 (updated readme and package.json #34

Workflow file for this run

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
- name: create-new-branch
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "New release: ${{ steps.package-version.outputs.current-version }}"
branch: ${{ steps.package-version.outputs.current-version }}
repository: .
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run build
# - run: git config advice.addIgnoredFile false
- run: rm .gitignore
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Updated build files
commit_options: '--no-verify'
commit_user_name: github-actions
commit_user_email: noreply@arnaud.tech
commit_author: github-actions <noreply@arnaud.tech>
file_pattern: |
./.gitignore
build/index.min.js
build/index.min.js.gz
skip_dirty_check: true
push_options: '--force'
branch: ${{ steps.package-version.outputs.current-version }}
create_branch: true
publish-github-release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
- uses: actions/checkout@v3
with:
ref: ${{ steps.package-version.outputs.current-version }}
- name: create-new-release
uses: softprops/action-gh-release@v1
with:
files: |
build/index.min.js
build/index.min.js.gz
tag_name: ${{ steps.package-version.outputs.current-version }}
name: ${{ steps.package-version.outputs.current-version }}
body: |
Release ${{ steps.package-version.outputs.current-version }}
draft: false
prerelease: false
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0