-s
switch for safe REPL; recur
as syntax; misc
#104
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: NodeJS with Webpack | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: npm | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build | |
run: | | |
npm ci | |
npx webpack | |
npx tsc -p tsconfig.json | |
- uses: JS-DevTools/npm-publish@v2 | |
if: contains(github.ref, 'master') | |
with: | |
token: ${{ secrets.NPM_TOKEN }} |