Files
nativewind/.github/workflows/next.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 8: cannot unmarshal !!str `${{ git...` into model.RawConcurrency
2022-07-19 13:00:04 -03:00

45 lines
949 B
YAML

name: Next
on:
push:
branches:
- next
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Test & Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Build project
run: npm run build
- name: Test project
run: npm test
- name: Copy readme
run: cp README.md packages/nativewind/
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npx changeset publish
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}