Skip to content

ci: remove yarn

ci: remove yarn #32

Workflow file for this run

name: Verify good stuff is pushed
on:
push:
branches:
- main
jobs:
ava:
name: πŸ”¬ Ava Test
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: πŸ›  Setup node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- uses: pnpm/action-setup@v2
name: πŸ“₯ Download deps
with:
version: 8
run_install: false
- name: πŸ§ͺ Test
run: pnpm test
env:
AWS_ACCESS_KEY_ID: 'test'
AWS_SECRET_ACCESS_KEY: 'test'
build:
name: πŸ‹οΈβ€β™€οΈ Build
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: πŸ›  Setup node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: πŸ“₯ Download deps
run: pnpm
- name: πŸ— Build
run: pnpm build
prettier:
name: πŸͺž Prettier
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: πŸ›  Setup node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: πŸ“₯ Download deps
run: pnpm
- name: πŸ— Prettier
run: pnpm prettier
bump:
name: ⬆️ Bump Version
runs-on: ubuntu-latest
needs: [prettier, build, ava]
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: πŸ›Έ Version Bump
id: version-bump
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag-prefix: 'v'
- name: ℹ️ New Version
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: echo "Version $NEW_TAG"