Skip to content

chore: upgrade actions to node 18 #31

chore: upgrade actions to node 18

chore: upgrade actions to node 18 #31

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
test:
name: Test & Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
- name: Lint
run: make lint
- name: Verify build succeeds
run: make prepack
release:
name: Release
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
- name: Install node_modules
run: make node_modules
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm exec semantic-release