fix(ci): use node 18 #257
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: test | |
on: | |
push: | |
branches: | |
- feat/ga | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: | | |
cd packages/ketchup | |
node scripts/k-npm-snapshot.js | |
cd ../ketchup-react | |
node scripts/kr-npm-snapshot.js | |
cd ../.. | |
npm install yarn | |
yarn install --no-immutable | |
npm run k:build | |
# - run: npm run publish:snapshot | |
# env: | |
# NODE_AUTH_TOKEN: {{ secrets.NPM_TOKEN }} |