fix(build): remove need for typesVersions
breaking VSCode imports
#263
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "pr" | |
on: | |
pull_request: | |
branches: | |
- "master" | |
paths: | |
- ".changeset/**/*.md" | |
jobs: | |
release: | |
runs-on: "ubuntu-22.04" | |
if: github.event.pull_request.head.repo.full_name == github.repository # run only for original, non-fork PRs | |
steps: | |
- uses: "actions/checkout@v3" | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: "actions/setup-node@v3" | |
with: | |
node-version: 18 | |
cache: "npm" | |
- name: "Cancel previous runs" | |
uses: "styfle/[email protected]" | |
continue-on-error: true | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- run: "npm ci --no-audit" | |
- uses: "the-guild-org/[email protected]" | |
with: | |
tag: "alpha" | |
prepareScript: "npm run build" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |