Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/postcss-spring-easing. PostCSS plugin to add that bounce and boogie that only springs can br
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build CI
on: push: branches: [main] paths: - '*.ts' - '*.js' - '*.json' - '*.css' - '*.yaml' - 'README.md' - '.github/**/*.yml' - 'src/**/*' - 'media/**/*' - 'tests/**/*' workflow_dispatch:
jobs: build: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy: matrix: node-version: [19.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: - uses: actions/checkout@v2 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache .pnpm-store uses: actions/cache@v1 with: path: ~/.pnpm-store key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install pnpm run: curl -f https://get.pnpm.io/v6.js | node - add --global pnpm@6
- name: Install run: pnpm install
- name: Pre-Release run: pnpm pre-release
- name: Add lib, and types to Git if: ${{ github.ref == 'refs/heads/main' }} run: | git add --force lib/
- name: Commit files if: ${{ github.ref == 'refs/heads/main' }} run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git commit -m "chore(gh-bot): :rocket: build types, api & library files [skip ci]" -a
- name: Push changes if: ${{ github.ref == 'refs/heads/main' }} uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GH_TOKEN }} branch: ${{ github.ref }}