Skip to content

Commit

Permalink
chore: Update Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Randagio13 committed Aug 8, 2023
1 parent c6bc00f commit 7f44b31
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,31 @@ jobs:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: pnpm 🧰
uses: pnpm/[email protected]
with:
node-version: 17
- name: Install dependencies
run: npm i
- name: Run package
run: npm run build
version: 7

- name: Node 🧰
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'pnpm'

- name: Install 📦
run: pnpm install

- name: Build 🛠
run: pnpm build

- name: Run specs
run: npm test
run: pnpm test

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: pnpm exec semantic-release

0 comments on commit 7f44b31

Please sign in to comment.