Test Nxtstart Creation 👷 #38
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: Test Nxtstart Creation 👷 | |
on: | |
push: | |
schedule: | |
- cron: 0 9 * * 1 | |
jobs: | |
npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node.js 🔧 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
# needed to avoid npm authentication problems in github action runner when trying to npm install | |
- run: rm package-lock.json | |
- run: npm install | |
# install create-nxtstart-app | |
- run: npm install -g | |
# run test | |
- run: npm run testNpm | |
yarn: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node.js 🔧 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
# needed to avoid npm authentication problems in github action runner when trying to npm install | |
- run: rm package-lock.json | |
- run: npm install | |
# install create-nxtstart-app | |
- run: npm install -g | |
# run test | |
- run: npm run testYarn |