chore: changesets #232
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: Netlify | |
on: push | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: yarn install --frozen-lockfile | |
- run: npx wsrun -mpc build | |
- uses: nelonoel/[email protected] | |
- name: Publish preview | |
uses: jsmrcaga/[email protected] | |
with: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_DEPLOY_MESSAGE: Preview ${{ env.BRANCH_NAME }} | |
build_directory: dist | |
deploy_alias: ${{ env.BRANCH_NAME }} | |
NETLIFY_DEPLOY_TO_PROD: false | |
build_command: echo "" | |
monorepo_package: rdfjs-elements-demo | |
- name: Status check | |
uses: Sibz/[email protected] | |
with: | |
authToken: ${{ secrets.GITHUB_TOKEN }} | |
context: Netlify Site | |
state: success | |
target_url: https://${{ env.BRANCH_NAME }}--rdfjs-elements.netlify.app |